AKISPL

 

Langunage type

SubRoutine

FORTRAN

call rd_akispl(xval, zval, identity, order, array, errflg) or call akispl(xval, zval, identity, order, array, errflg)

C/C++

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

or akispl(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 identity of Spline.

order

int

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

1) order = 0

2) order = 1

3) order = 2

array

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