template<typename Poly, template< uint16_type > class PolySetType = Scalar, typename Container = typename Poly::basis_type::matrix_type>
class Feel::Polynomial< Poly, PolySetType, Container >
polynomial class
The polynomial is expressed in the basis from Poly. The coefficients of the polynomial in this basis are represented by a matrix whose lines are the polymomial components coefficients (1 if
, nDim if
and columns are the basis
Evaluating the polynomial at a set of points(or just one point) is then simply a matrix-matrix product.
- Author
- Christophe Prud'homme
- See Also
|
|
| | Polynomial () |
| |
| | Polynomial (Poly const &__poly) |
| |
| | Polynomial (Poly const &__poly, container_type const &__coeff, bool __as_is=false) |
| |
| | Polynomial (container_type const &__coeff, bool __as_is=false) |
| |
| template<class AE > |
| | Polynomial (Poly const &__poly, ublas::matrix_expression< AE > const &__coeff, bool __as_is=false) |
| |
|
| Polynomial (Polynomial const &p) |
| |
|
| ~Polynomial () |
| |
|
|
self_type const & | operator= (self_type const &__p) |
| |
|
self_type const & | operator-= (self_type const &__p) |
| |
|
self_type const & | operator() (self_type const &__p) const |
| |
| component_type | operator[] (int i) const |
| | extract the i-th component of a vectorial polynomial More...
|
| |
| matrix_type | operator() (node_type const &__x) const |
| |
| matrix_type | operator() (points_type const &__pts) const |
| |
|
| bool | isZero () const |
| |
| matrix_type const & | coeff () const |
| |
| matrix_type const & | coefficients () const |
| |
| basis_type const & | basis () const |
| |
|
| void | setCoefficient (matrix_type const &__c, bool __as_is=false) |
| |
|
| matrix_type | evaluate (node_type const &__x) const |
| |
| matrix_type | evaluate (points_type const &__pts) const |
| |
|
template<typename AE > |
| matrix_type | derivate (uint16_type i, ublas::matrix_expression< AE > const &pts) const |
| |
|
template<typename AE > |
| matrix_type | derivate (uint16_type i, uint16_type j, ublas::matrix_expression< AE > const &pts) const |
| |
| matrix_type const & | d (uint16_type i) const |
| | differentiation matrix of Dubiner polynomials the derivatives are computed at the nodes of the lattice More...
|
| |
| self_type | derivative (uint16_type l) const |
| |
| PolynomialSet< Poly, PolySetType > | toSet (bool asis=false) const |
| |
|
typedef Polynomial< Poly,
PolySetType > | self_type |
| |
|
typedef Poly::value_type | value_type |
| |
|
typedef Poly::basis_type | basis_type |
| |
|
typedef PolySetType< nDim > | polyset_type |
| |
typedef Component
< polyset_type >::type | component_type |
| |
|
typedef Polynomial< Poly, Scalar > | scalar_component_type |
| |
|
typedef basis_type::points_type | points_type |
| |
|
typedef basis_type::matrix_type | matrix_type |
| |
|
typedef Container | container_type |
| |
|
typedef node< value_type >::type | node_type |
| |
|
static const bool | is_tensor2 = polyset_type::is_tensor2 |
| |
|
static const bool | is_vectorial = polyset_type::is_vectorial |
| |
|
static const bool | is_scalar = polyset_type::is_scalar |
| |
|
static const uint16_type | nComponents = polyset_type::nComponents |
| |
|
static const uint16_type | nComponents1 = polyset_type::nComponents1 |
| |
|
static const uint16_type | nComponents2 = polyset_type::nComponents2 |
| |
|
| BOOST_STATIC_ASSERT ((boost::is_same< typename matrix_type::value_type, value_type >::value)) |
| |
|
| BOOST_STATIC_ASSERT ((boost::is_same< typename matrix_type::value_type, typename points_type::value_type >::value)) |
| |