|
| DagIndexer (Dim domain=1, Dim image=1, Degree degree=1, size_type nodes=1, Order order=0) |
|
| DagIndexer (const DagIndexer &dag) |
|
| ~DagIndexer () |
|
DagIndexer & | operator= (const DagIndexer &dag) |
|
ScalarType & | operator() (VarNo varNo, CoeffNo coeffNo) |
|
ScalarType & | operator() (VarNo varNo, DerNo derNo, CoeffNo coeffNo) |
|
ScalarType & | operator() (VarNo varNo, DerNo j, DerNo c, CoeffNo coeffNo) |
|
ScalarType & | operator() (VarNo varNo, DerNo i, DerNo j, DerNo c, CoeffNo coeffNo) |
|
Dim | domainDimension () const |
|
Dim | imageDimension () const |
|
Dim | degree () const |
|
JetSize | jetSize () const |
|
JetSize | timeJetSize () const |
|
template<class Iterator > |
void | setMask (Iterator b, Iterator e) |
| This method defines a mask for computation of partial derivatives of the function represented by the instance. More...
|
|
const bool * | getMask () const |
|
bool | getMask (size_type j) const |
|
bool | getMask (size_type j, size_type c) const |
|
void | addMultiindexToMask (const capd::vectalg::Multiindex &i) |
|
void | resetMask () |
|
ScalarType * | coefficients () |
|
const ScalarType * | coefficients () const |
|
Order | getOrder () const |
|
void | setOrder (Order order) |
|
void | resize (Dim domain, Dim image, Degree degree, size_type nodes, Order order) |
|
size_type | numberOfNodes () const |
| returns total number of nodes in DAG representing expression More...
|
|
iterator | begin () |
| iterator selection. Returns iterator to the first element in container More...
|
|
iterator | end () |
| iterator selection. Returns iterator to the first element in container More...
|
|
iterator | begin (size_type i) |
| iterator selection. Returns iterator to the first coefficient of the i-th component More...
|
|
iterator | end (size_type i) |
| iterator selection. Returns iterator to an element after the last element the i-th component More...
|
|
iterator | begin (size_type i, size_type d) |
| iterator selection. Returns iterator to the first coefficient of the i-th component of the homogeneous part of degree 'd' More...
|
|
iterator | end (size_type i, size_type d) |
| iterator selection. Returns iterator to an element after the last coefficient of the i-th component of the homogeneous part of degree 'd' More...
|
|
const_iterator | begin () const |
| iterator selection. Returns iterator to the first element in container More...
|
|
const_iterator | end () const |
| iterator selection. Returns iterator to the first element in container More...
|
|
const_iterator | begin (size_type i) const |
| iterator selection. Returns iterator to the first coefficient of the i-th component More...
|
|
const_iterator | end (size_type i) const |
| iterator selection. Returns iterator to an element after the last element the i-th component More...
|
|
const_iterator | begin (size_type i, size_type d) const |
| iterator selection. Returns iterator to the first coefficient of the i-th component of the homogeneous part of degree 'd' More...
|
|
const_iterator | end (size_type i, size_type d) const |
| iterator selection. Returns iterator to an element after the last coefficient of the i-th component of the homogeneous part of degree 'd' More...
|
|
const IndexArray & | getIndexArray () const |
|
template<class T >
template<class Iterator >
This method defines a mask for computation of partial derivatives of the function represented by the instance.
Each element of the range [b,e) should be a valid Multiindex. The user can specify which partial derivatives he/she needs tp compute. Dependent derivatives are added to the list automatically and those independent are not evaluated which significantly speeds up the computation.
Example: setMask({Multiindex({1,1,0}),Multiindex({2,0,0})});
Here we request derivatives dx1dx2 and d^2x1. They depend on first order derivatives dx1 and dx2 which will be added automatically.
- Parameters
-
[b,e) | - iterator range of Multiindxes |