![]() |
#include <Legendre.h>
Public Member Functions | |
| Legendre (int n) | |
| real | operator() (real x) |
| Evaluation at given point. | |
| real | ddx (real x) |
| Evaluation of derivative at given point. | |
| real | d2dx (real x) |
| Evaluation of second derivative at given point. | |
P0(x) = 1 P1(x) = x P2(x) = (3x^2 - 1) / 2 ...
The function values and derivatives are computed using three-term recurrence formulas.
|
|
|
|
|
Evaluation of second derivative at given point.
|
|
|
Evaluation of derivative at given point.
|
|
|
Evaluation at given point.
|
![]()
Documentation automatically generated with Doxygen on 10 Sep 2004.