Evaluate a 1D polynomial p given by its coefficients array at position x
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=FP), | intent(in), | contiguous, dimension(:) | :: | polycoeff |
Polynomial coefficients |
|
| real(kind=FP), | intent(in) | :: | x |
Point where to evaluate the polynomial |
Evaluate a 2D polynomial p given by its coefficients c_{n,m} array at position (x,y) p(x,y) = \sum_{n,m} c_{n,m} * x^n * y^m = \sum_{m} y^m * ( \sum_{n} c_{n,m} * x^n )
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=FP), | intent(in), | contiguous, dimension(:,:) | :: | polycoeff |
Polynomial coefficients |
|
| real(kind=FP), | intent(in) | :: | x |
Point x-coordinate where to evaluate the polynomial |
||
| real(kind=FP), | intent(in) | :: | y |
Point y-coordinate where to evaluate the polynomial |