LINSPL

 

Langunage type

SubRoutine

FORTRAN

call rd_linspl(xval, zval, identity, order, array, errflg)

or linspl(xval, zval, identity, order, array, errflg)

C/C++

rd_linspl(xval, zval, identity, order, &array[0], &errflg)

or linspl(xval, zval, identity, order, &array[0], &errflg)

 

Parameter information

 

Variable Name

Size

Description

xval

double

An input variable for the AKISPL function.

- Generally, this variable is time or a function that returns a real number.

zval

double

An input variable for the AKISPL function.

- The second variable is necessary for three dimensional spline functions.

- This variable must be a function that returns a real number. Otherwise, 0 is applied.

identity

int

The id of spline.

order

int

The interpolation method for the functions (return the value if 0, return calculation for 1st order differential equation if 1)

1) order = 0

2) order = 1

array

double

error

logical / int

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