Compute Gauss-Legendre integration points on the interval [-1,1].
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nPoints |
The number of integration points. |
The coordinates of the Legendre points on the interval [-1,1]. The array has to have the length nPoints.