OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
Monomial< dim > Class Template Reference

Detailed Description

template<unsigned int dim>
class Monomial< dim >

Definition at line 14 of file Monomial.hpp.

Public Member Functions

 Monomial (const Point< dim, unsigned int > &other, unsigned int scalar=1)
 Monomial (const Point< dim, long int > &other, unsigned int scalar=1)
 Monomial (const unsigned int other[dim])
 Monomial (const Monomial< dim > &other)
Monomial< dim > & operator= (const Monomial< dim > &other)
bool operator== (const Monomial< dim > &other) const
unsigned int order () const
unsigned int getExponent (unsigned int i) const
void setExponent (unsigned int i, unsigned int value)
template<typename T >
evaluate (const Point< dim, T > x) const
template<typename T >
evaluate (const T x[dim]) const
Monomial< dim > getDerivative (const Point< dim, unsigned int > differentialOrder) const

Private Member Functions

void updateSum ()

Private Attributes

unsigned int sum = 0
Point< dim, unsigned int > exponents
unsigned int scalar = 1


template<typename charT , typename traits >
std::basic_ostream< charT, traits > & operator<< (std::basic_ostream< charT, traits > &lhs, Monomial< dim > const &rhs)

The documentation for this class was generated from the following file: