nag_ode_bvp_ps_lin_coeffs (d02uac) obtains the Chebyshev coefficients of a function discretized on Chebyshev Gauss–Lobatto points. The set of discretization points on which the function is evaluated is usually obtained by a previous call to
nag_ode_bvp_ps_lin_cgl_grid (d02ucc).
nag_ode_bvp_ps_lin_coeffs (d02uac) computes the coefficients
, for
, of the interpolating Chebyshev series
which interpolates the function
evaluated at the Chebyshev Gauss–Lobatto points
Here
denotes the Chebyshev polynomial of the first kind of degree
with argument
defined on
. In terms of your original variable,
say, the input values at which the function values are to be provided are
where
and
are respectively the upper and lower ends of the range of
over which the function is required.
The Chebyshev coefficients computed should be accurate to within a small multiple of machine precision.
nag_ode_bvp_ps_lin_coeffs (d02uac) is threaded by NAG for parallel execution in multithreaded implementations of the NAG Library.
nag_ode_bvp_ps_lin_coeffs (d02uac) makes calls to BLAS and/or LAPACK routines, which may be threaded within the vendor library used by this implementation. Consult the documentation for the vendor library for further information.
Please consult the
Users' Note for your implementation for any additional implementation-specific information.
See
Section 10 in nag_ode_bvp_ps_lin_solve (d02uec).