net.von_gagern.martin.confoo.fun
Class Chebyshev
java.lang.Object
net.von_gagern.martin.confoo.fun.Chebyshev
public class Chebyshev
- extends Object
Evaluate Chebyshev series.
This class evaluates a Chebyshev series, using the
Clenshaw method with Reinsch modification, as analysed
in the paper by Oliver.
This is a Java port of code originally written in Fortran.
The Fortran code this is based upon was last modified 21 December, 1992.
- Author:
- Dr. Allan J. MacLeod
(original Fortran implementation), Martin von Gagern
(Java port)
- See Also:
- MISCFUN,
Error Analysis
|
Method Summary |
static double |
cheval(int n,
double[] a,
double t)
Evaluate a Chebyshev series. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Chebyshev
public Chebyshev()
cheval
public static double cheval(int n,
double[] a,
double t)
- Evaluate a Chebyshev series.
- Parameters:
n - the number of terms in the sequencea - the coefficients of the Chebyshev seriest - the value at which the series is to be evaluated
Copyright © 2008 Martin von Gagern. All Rights Reserved.