POLY

 

Langunage type

SubRoutine

FORTRAN

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

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

C/C++

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

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

 

Parameter information

 

Variable Name

Size

Description

x

double

The input variable for the defined polynomial function.

x0

double

The starting point of the polynomial function The starting point of the polynomial function.

upar

double *

Argument list array.

npar

int

Number of arguments in the argument list array.

order

int

1) order = 0

 

2) order = 1

3) order = 2

value

double

errflg

logical

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