CHEBY

 

Langunage type

SubRoutine

FORTRAN

call rd_cheby(x, x0, upar, npar, order, value, errflg)

or cheby(x, x0, upar, npar, order, value, errflg)

C/C++

rd_cheby (x, x0, upar, npar, order, &value, &errflg)

or cheby (x, x0, upar, npar, order, &value, &errflg)

 

Parameter information

 

Variable Name

Size

Description

x

double

The input variable for the Chebyshev equation.

x0

double

The x-direction offset for the variable (X) in the Chebyshev polynomial

upar

double*

Argument list array. This array contain the coefficient values for Chebyshev polynomial.

npar

int

Number of arguments in the argument list array.

order

int

Return the value if 0, return calculation for 1st order differential equation if 1, and return calculation for 2nd order differential equation if 2.

If oder = 0,

 

value

double

errflg

int

If an error is encountered in invoking Predefined subroutine, this variable becomes true. This variable must be declared as a logical variable