POLY
Utility/GeneralEvaluates a generic polynomial. A polynomial is a mathematical expression defined by the sum of the powers of a variable, multiplied by coefficients.
Use
This function can be called by any user-defined subroutine.
- Fortran Calling Syntax
- CALL POLY(X, X0, PAR, NPAR, IORD, VALUE, ERRFLG)
- C Calling Syntax
- c_poly(x, x0, par, npar, iord, value, errflg)
- Python Calling Syntax
- [value, eflag] = py_poly(x, x0, par, iord)
- MATLAB Calling Syntax
- [value, eflag] = m_poly(x, x0, par, iord)
Attributes
- X
- [double precision]
- X0
- [double precision]
- PAR
- [double precision]
- NPAR
- [integer]
- IORD
- [integer]
Output
- Value
- [integer]
- Errflg
- [logical]