Public Member Functions | |
real(qp) function | poly_eval (p, n, x) |
Polynomial manipulation routines. More... | |
complex(qp) function | poly_eval_complex (p, n, x) |
Function to evaluate complex polynomial. More... | |
real(qp) function sdcquadrature_mod::poly_eval::poly_eval | ( | real(qp), dimension(0:n), intent(in) | p, |
integer, intent(in), value | n, | ||
real(qp), intent(in) | x | ||
) |
Polynomial manipulation routines.
A polynomial p
p(x) = a_n x^n + ... + a_2 x^2 + a_1 x + a_0
is stored as a Fortran array p(0:n) according to
p = [ a_0, a_1, ..., a_n ]. Function to evaluate real polynomial
complex(qp) function sdcquadrature_mod::poly_eval::poly_eval_complex | ( | real(qp), dimension(0:n), intent(in) | p, |
integer, intent(in), value | n, | ||
complex(qp), intent(in) | x | ||
) |
Function to evaluate complex polynomial.