net.von_gagern.martin.confoo.fun
Class Chebyshev

java.lang.Object
  extended by 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

Constructor Summary
Chebyshev()
           
 
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
 

Constructor Detail

Chebyshev

public Chebyshev()
Method Detail

cheval

public static double cheval(int n,
                            double[] a,
                            double t)
Evaluate a Chebyshev series.

Parameters:
n - the number of terms in the sequence
a - the coefficients of the Chebyshev series
t - the value at which the series is to be evaluated


Copyright © 2008 Martin von Gagern. All Rights Reserved.