FORCOS
Utility/GeneralEvaluates a Fourier Cosine. A Fourier Cosine series is a collapsed version of a Fourier series, where the factors multiplying the SIN() terms are all zero.
Use
This function can be called by any user-defined subroutine.
Format
- Fortran Calling Syntax
- CALL FORCOS (X, X0, W, PAR, NPAR, IORD, VALUE, ERRFLG)
- C/C++ Calling Syntax
- c_forcos(x, x0, w, par, npar, iord, value, errflg)
- Python Calling Syntax
- [value, errflg] = py_forcos(x, x0, par, npar, iord)
- MATLAB Calling Syntax
- [value, errflg] = m_forcos(x, x0, par, npar, iord)
Attributes
- X
- [double precision]
- X0
- [double precision]
- W
- [double precision]
- PAR
- [double precision]
- NPAR
- [integer]
- IORD
- [integer]
Output
- VALUE
- [integer]
- ERRFLG
- [logical]