zerosGJ {rjacobi}R Documentation

Nodes of Gauss-Jacobi Quadrature

Description

Calculates the nodes of the Q point Gauss-Jacobi quadrature

Usage

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)

Arguments

Q Number of nodes
a α parameter of Jacobi polynomial. Defaults to 0
b β parameter of Jacobi polynomial. Defaults to 0

Details

Different types of quadrature are possible:

These functions find the quadrature nodes that will be used in subsequent calculations.

Value

A vector containing the nodes of the quadrature

References

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.

See Also

quadrature weightsGJ diffmatGJ jacobiZeros

Examples


## Computes the quadrature nodes
z = zerosGJ(5, 1, 0.5)


[Package rjacobi version 0.9.2 Index]