|
| constexpr | Monomial () |
| | Constructor for the zero monomial.
|
| constexpr | Monomial (const CoefType &coeff) |
| | Constructor for the constant monomial.
|
| constexpr | Monomial (const std::array< IndexType, Dim > &exponent, const CoefType &coefficient) |
| | Constructor for a general non-scaled monomial.
|
| constexpr | Monomial (const std::array< IndexType, Dim > &exponent, const CoefType &coefficient, const CoefType &scaling, const std::array< IndexType, Dim > &translation) |
| | Constructor for a general scaled monomial.
|
| constexpr CoefType | evaluate (const Eigen::Vector< CoefType, Dim > &point) const |
| | Evaluate the monomial in a point.
|
| constexpr CoefType | evaluate (const CoefType *point) const |
| | Evaluate the monomial in a point passed as a raw buffer.
|
| constexpr Monomial | derivative (std::size_t component) const |
| | Compute the derivative.
|
| constexpr bool | empty () const |
| | Check if it is the zero monomial.
|
| constexpr Eigen::Vector< Monomial, Dim > | gradient () const |
| | Compute the gradient of the monomial.
|
| template<typename U> |
| Monomial< Dim, IndexType, U, IsScaled > | to () const |
| | Cast the monomial to a different underlying type.
|
| template<std::size_t PreDim, std::size_t PostDim> |
| Monomial< Dim+PreDim+PostDim, IndexType, CoefType, IsScaled > | liftDimension () const |
| const auto & | coef () const |
| const auto & | exp () const |
template<std::size_t Dim, typename IndexType, typename CoefType, bool IsScaled>
class vulpes::monomial::Monomial< Dim, IndexType, CoefType, IsScaled >
Class representing a (possibly scaled) monomial.
This class offers the possibility to work with monomials and scaled monomials, that are monomials of the form \((\frac{x - x_0)}{h})^\alpha\).
template<std::size_t Dim, typename IndexType, typename CoefType, bool IsScaled>
| bool operator< |
( |
const Monomial< Dim, IndexType, CoefType, IsScaled > & | lhs, |
|
|
const Monomial< Dim, IndexType, CoefType, IsScaled > & | rhs ) |
|
friend |
Less operator.
First compares exponents lexicographically, than the coefficients, than the scaling factors and finally the translation lexicographically