- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
This
evaluates a Chebyshev polynomial for orders zero to NTERM-1 at a given normalised
[-1,1]
co-ordinate. It uses a recurrence relationship to evaluate beyond the second term.
Invocation
CALL
KPG1_CHEPx( X, NTERM, T, STATUS )
Arguments
X = ? (Given)
The normalised co-ordinate
for which the Chebyshev polynomial is to be evaluated. It is assumed to lie in the range
[-1,1]
having been normalised using the limits that created the coefficients.
NTERM = INTEGER (Given)
The number of terms in the Chebyshev polynomial. It equals the order plus one.
T( NTERM ) = ?
(Returned)
The evaluated Chebyshev polynomial for each term.
STATUS = INTEGER (Given and
Returned)
The global status.
References
-
T. Hopkins & C.Phillips, 1988, "
Numerical Methods in Practice"
, Addison-Wesley, p.190-191.
[routine_references]...
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑