naginterfaces.library.ode.bvp_​ps_​lin_​cheb_​eval

naginterfaces.library.ode.bvp_ps_lin_cheb_eval(k, x)[source]

bvp_ps_lin_cheb_eval returns the value of the th Chebyshev polynomial evaluated at a point . bvp_ps_lin_cheb_eval is primarily a utility function for use by the Chebyshev boundary value problem solvers.

For full information please refer to the NAG Library document for d02uz

https://support.nag.com/numeric/nl/nagdoc_30/flhtml/d02/d02uzf.html

Parameters
kint

The order of the Chebyshev polynomial.

xfloat

The point at which to evaluate the polynomial.

Returns
tfloat

The value, , of the Chebyshev polynomial order evaluated at .

Raises
NagValueError
(errno )

On entry, .

Constraint: .

(errno )

On entry, .

Constraint: .

Notes

bvp_ps_lin_cheb_eval returns the value, , of the th Chebyshev polynomial evaluated at a point ; that is, .

References

Trefethen, L N, 2000, Spectral Methods in MATLAB, SIAM