|
pure double precision function | evaluate_dd_polynomial (x, derivatives) |
| Evaluate a polynomial at x, defined by its derivatives (starting from the \(0^th\) derivative)
|
|
pure double precision function | evaluate_dd_polynomial_derivative (x, derivatives, n) |
| Evaluate the polynomial's \(N^{th}\) derivative (.
|
|
pure double precision function, dimension(size(derivatives)) | get_dd_polynomial (derivatives) |
| Get the polynomial associated to a DD.
|
|
pure double precision function, dimension(n) | get_dd_lagrange_vector (x, n) |
| Get the vector made of the Xvector * ifactorials.
|
|
|
integer, parameter | max_factorials = 8 |
|
double precision, dimension(max_factorials), parameter | factorials = [ 1d0, 1d0, 2d0, 6d0, 24d0, 120d0, 720d0, 5040d0 ] |
|
double precision, dimension(max_factorials), parameter | ifactorials = 1d0/factorials |
|
This DD polynomial module furnishes very useful function to evaluate the DD and its derivatives at a particular place x
. Once one has computed the numerical value of the derivative at a particular point the evaluation is a simple computation of the Taylor expansion at that point.
For that purpose, we use the common evaluate_polynomial function by considering the \(i^th\) polynomial coefficient as \(p_i = \frac{D_i}{i!} \).