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 > | |
T | evaluate (const Point< dim, T > x) const |
template<typename T > | |
T | evaluate (const T x[dim]) const |
Monomial< dim > | getDerivative (const Point< dim, unsigned int > differentialOrder) const |
__host__ __device__ unsigned int | getScalar () const |
Private Member Functions | |
void | updateSum () |
Private Attributes | |
unsigned int | sum = 0 |
Point< dim, unsigned int > | exponents |
unsigned int | scalar = 1 |
Friends | |
template<typename charT , typename traits > | |
std::basic_ostream< charT, traits > & | operator<< (std::basic_ostream< charT, traits > &lhs, Monomial< dim > const &rhs) |
Monomial< dim >::Monomial |
Definition at line 66 of file Monomial.hpp.
|
explicit |
Definition at line 73 of file Monomial.hpp.
|
explicit |
Definition at line 80 of file Monomial.hpp.
|
explicit |
Definition at line 91 of file Monomial.hpp.
Monomial< dim >::Monomial | ( | const Monomial< dim > & | other | ) |
Definition at line 95 of file Monomial.hpp.
T Monomial< dim >::evaluate | ( | const Point< dim, T > | x | ) | const |
Definition at line 148 of file Monomial.hpp.
T Monomial< dim >::evaluate | ( | const T | x[dim] | ) | const |
Definition at line 178 of file Monomial.hpp.
Monomial< dim > Monomial< dim >::getDerivative | ( | const Point< dim, unsigned int > | differentialOrder | ) | const |
Definition at line 159 of file Monomial.hpp.
unsigned int Monomial< dim >::getExponent | ( | unsigned int | i | ) | const |
Definition at line 127 of file Monomial.hpp.
|
inline |
Definition at line 58 of file Monomial.hpp.
Monomial< dim > & Monomial< dim >::operator= | ( | const Monomial< dim > & | other | ) |
Definition at line 101 of file Monomial.hpp.
Definition at line 140 of file Monomial.hpp.
unsigned int Monomial< dim >::order |
Definition at line 121 of file Monomial.hpp.
void Monomial< dim >::setExponent | ( | unsigned int | i, |
unsigned int | value | ||
) |
Definition at line 133 of file Monomial.hpp.
|
private |
Definition at line 110 of file Monomial.hpp.
|
friend |
Definition at line 52 of file Monomial.hpp.
Definition at line 19 of file Monomial.hpp.
|
private |
Definition at line 20 of file Monomial.hpp.
Definition at line 18 of file Monomial.hpp.