zerosGJ {rjacobi} | R Documentation |
Calculates the nodes of the Q point Gauss-Jacobi quadrature
z = zerosGJ(Q, a=0.0, b=0.0) z = zerosGLJ(Q, a=0.0, b=0.0) z = zerosGRJM(Q, a=0.0, b=0.0) z = zerosGRJP(Q, a=0.0, b=0.0)
Q |
Number of nodes |
a |
α parameter of Jacobi polynomial. Defaults to 0 |
b |
β parameter of Jacobi polynomial. Defaults to 0 |
Different types of quadrature are possible:
GJ
GLJ
, includes both end
points
GRJM
, includes the -1 end
point
GRJP
, includes the +1 end
pointThese functions find the quadrature nodes that will be used in subsequent calculations.
A vector containing the nodes of the quadrature
Abramowitz, Milton and Stegun, Irene (editors); "Handbook of Mathematical functions", Dover Publications 1965.
Karniadakis, George Em and Sherwin, Spencer; "Spectral/hp Element Methods for Computational Fluid Dynamics", Oxford Science Publications, 2nd edition, 2005.
quadrature
weightsGJ
diffmatGJ
jacobiZeros
## Computes the quadrature nodes z = zerosGJ(5, 1, 0.5)