Evaluate a given set of Legendre polynomials a given set of 1D points.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | points(:) |
A given set of 1D points. |
||
integer, | intent(in) | :: | nPoints |
The number of points to evaluate the polynomials at. |
||
integer, | intent(in) | :: | maxPolyDegree |
The maximal polynomial degree to evaluate for. |
Function values for for all Legendre polynomials up to degree maxPolyDegree at all given points. Therefore the dimension of this array is (maxPolyDegree+1, nPoints)