HAVSIN

 

Langunage type

SubRoutine

FORTRAN

call rd_havsin(x, x0, h0, x1, h1, order, value, errflg)

or havsin(x, x0, h0, x1, h1, order, value, errflg)

C/C++

rd_havsin(x, x0, h0, x1, h1, order, &value, &errflg)

or havsin(x, x0, h0, x1, h1, order, &value, &errflg)

 

Parameter information

 

Variable Name

Size

Description

x

double

The input variable for the defined HAVSIN.

x0

double

The starting point for the HAVSIN function.

h0

double

The initial value for the input variable (within the range of x≤x0).

x1

double

The ending point for the HAVSIN function.

h1

double

The initial value for the input variable (within the range of x≥x1).

order

int

1) order = 0

2) order = 1

3) order = 2

value

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.