NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
|
Computes the value of the polynomial when applied to a number or list of numbers. More...
Public Member Functions | |
pure real(dp) function | polyval_1 (p, x) |
Evaluation of a polynomial in a number. | |
pure real(dp) function, dimension(size(x)) | polyval_v (p, x) |
Evaluation of a polynomial in an array of numbers. | |
Computes the value of the polynomial when applied to a number or list of numbers.
pure real(dp) function polyval_1 | ( | real(dp), dimension(:), intent(in) | p, |
real(dp), intent(in) | x ) |
Evaluation of a polynomial in a number.
[in] | p | Array of coefficients, from highest degree to constant term |
[in] | x | A number at which to evaluate the polynomial |
pure real(dp) function, dimension(size(x)) polyval_v | ( | real(dp), dimension(:), intent(in) | p, |
real(dp), dimension(:), intent(in) | x ) |
Evaluation of a polynomial in an array of numbers.
[in] | p | Array of coefficients, from highest degree to constant term |
[in] | x | A number at which to evaluate the polynomial |