LegendreNormSQR2
Square norm of Legendre polynomial.
Example
- ܀ Interface
 - ️܀ See example
 - ↢
 
INTERFACE
  MODULE PURE FUNCTION LegendreNormSQR2(n) RESULT(ans)
    INTEGER(I4B), INTENT(IN) :: n
    REAL(DFP) :: ans(0:n)
  END FUNCTION LegendreNormSQR2
END INTERFACE
program main
use easifembase
implicit none
CALL Display(LegendreNormSQR2(5), "ans: " )
end program main
results
 ans:  
-------
2.00000
0.66667
0.40000
0.28571
0.22222
0.18182