|
Feel++
0.92.0
|
#include <jacobi.hpp>
Public Types | |
Typedefs | |
| typedef T | value_type |
| typedef Jacobi< T > | self_type |
Public Member Functions | |
Constructors, destructor | |
| Jacobi (uint16_type N, value_type a=value_type(0.0), value_type b=value_type(0.0)) | |
| Jacobi (Jacobi const &p) | |
| ~Jacobi () | |
Operator overloads | |
| self_type & | operator= (self_type const &p) |
| value_type | operator() (value_type const &x) const |
Accessors | |
| uint16_type | degree () const |
Mutators | |
| void | setDegree (uint16_type N) |
Methods | |
| value_type | value (value_type const &x) const |
| value_type | derivate (value_type const &x) const |
1D Jacobi polynomial
(excerpt from Karniadakis/Sherwin Appendix A) Jacobi polynomials
are a family of polynomial to the singular Sturm-Liouville problem. A significant feature of these polynomials is that they are orthogonal in the interval
with respect to the function 
Several functions related to the one-dimensional jacobi polynomials: Evaluation, evaluation of derivatives, plus computation of the roots via Newton's method.
| Feel::dyna::Jacobi< T >::Jacobi | ( | uint16_type | N, |
| value_type | a = value_type( 0.0 ), |
||
| value_type | b = value_type( 0.0 ) |
||
| ) | [inline] |
default values for a and b give the special case of Legendre polynomials
| Jacobi< T >::value_type Feel::dyna::Jacobi< T >::operator() | ( | value_type const & | x | ) | const |
Evaluates the nth jacobi polynomial with weight parameters a,b at a point x. Recurrence relations implemented from the pseudocode given in Karniadakis and Sherwin, Appendix B
a and b are defaulted to 0 and the Jacobi polynomial is then the Legendre polynomial
| x | point for polynomial evaluation |
x Referenced by Feel::dyna::Jacobi< T >::value().
| value_type Feel::dyna::Jacobi< T >::value | ( | value_type const & | x | ) | const [inline] |
Evaluates the nth jacobi polynomial with weight parameters a,b at a point x. Recurrence relations implemented from the pseudocode given in Karniadakis and Sherwin, Appendix B
a and b are defaulted to 0 and the Jacobi polynomial is then the Legendre polynomial
| x | point for polynomial evaluation |
x References Feel::dyna::Jacobi< T >::operator()().
1.7.6.1