x | A double-precision variable that specifies the independent variable. If the independent variable in the function is time, x is the system variable TIME (click here to see the FORTRAN version of the TIME function or for C++, click here). |
x0 | A double-precision variable that specifies a shift in the Fourier sine function. |
w | A double-precision variable that specifies the fundamental frequency of the series. The variable w must be in radians per unit of the independent variable. |
par | A double-precision array of coefficients (a0,...,an). |
npar | An integer variable that indicates the number of coefficients specified in the Fournier sine series. |
iord | An integer variable that defines the order of the derivative that FORSIN is to return. IORD can be zero, one, or two. |
errflg | A logical (true or false) variable that FORSIN returns to the calling subroutine. If FORSIN detects an error in the subroutine call statement, it sets errflg to true before it returns errflg to the calling subroutine. | ||
value | A double-precision number returned by FORSIN. The meaning of the quantity depends on the value of IORD. The table below explains in more detail: ![]() | ||

