ug4
|
#include <lagrange1d.h>
Public Member Functions | |
EquidistantLagrange1D (const size_t i, const size_t degree) | |
Public Member Functions inherited from ug::Polynomial1D | |
size_t | degree () const |
Polynomial1D | derivative () const |
returns the derivative of this polynomial as a polynomial More... | |
Polynomial1D & | operator*= (const Polynomial1D &v) |
multiply by a polynomial More... | |
Polynomial1D & | operator*= (number scale) |
multiply by a scalar More... | |
Polynomial1D (const std::vector< number > &a) | |
Constructor passing coefficients for the polynomial. More... | |
Polynomial1D (size_t degree=0) | |
Constructor producing zero polynomial of degree 'degree'. More... | |
number | value (const number x) const |
evaluate the value of the polynom at x More... | |
Static Public Member Functions | |
static number | position (const size_t i, const size_t degree) |
returns the position of the i'th interpolation point More... | |
Protected Member Functions | |
void | compute_coeffs (const int i, const int p) |
computes the coefficients for passed interpolation points More... | |
Protected Member Functions inherited from ug::Polynomial1D | |
void | set_coefficients (const std::vector< number > &a) |
EquiDistant Lagrange Function
|
inline |
creates a lagrange polynomial with equidistant interpolation points
[in] | i | number of interpolation point, where polynom is 1 |
[in] | degree | degree of polynom |
References compute_coeffs(), ug::Polynomial1D::degree(), and UG_ASSERT.
|
inlineprotected |
computes the coefficients for passed interpolation points
References p, and ug::Polynomial1D::set_coefficients().
Referenced by EquidistantLagrange1D().
|
inlinestatic |
returns the position of the i'th interpolation point
References ug::Polynomial1D::degree(), and UG_ASSERT.
Referenced by ug::LagrangeLSFS< ReferenceEdge, TOrder >::position(), ug::FlexLagrangeLSFS< ReferenceEdge >::position(), ug::LagrangeLSFS< ReferenceQuadrilateral, TOrder >::position(), ug::FlexLagrangeLSFS< ReferenceQuadrilateral >::position(), ug::LagrangeLSFS< ReferencePrism, TOrder >::position(), ug::FlexLagrangeLSFS< ReferencePrism >::position(), ug::LagrangeLSFS< ReferencePyramid, TOrder >::position(), ug::LagrangeLSFS< ReferenceHexahedron, TOrder >::position(), ug::FlexLagrangeLSFS< ReferenceHexahedron >::position(), and ug::LagrangeLSFS< ReferenceOctahedron, TOrder >::position().