CAPD DynSys Library 5.2.0
|
For a Multiindex mi, mi[p] is a number of differentiation with respect to i-th variable. For example, a Multipointer mp=(0,0,2,3) in 5-dimensional space corresponds to the Multiindex mi=(2,0,1,1,0). Hence, Multiindex agrees with standard notation and it contains an additional information about the dimension of the domain of the function. More...
#include <capd/vectalg/Multiindex.h>
Public Types | |
typedef Vector< int, 0 >::iterator | iterator |
typedef Vector< int, 0 >::const_iterator | const_iterator |
typedef std::vector< Multiindex > | MultiindexVector |
typedef std::vector< MultiindexVector > | IndicesSet |
typedef Vector< int, 0 >::size_type | size_type |
typedef int | ScalarType |
typedef Container< int, dim > | ContainerType |
typedef Vector< int, dim > | VectorType |
typedef __difference_type | difference_type |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Static Public Member Functions | |
static void | generateList (size_type n, size_type k, IndicesSet &result) |
static size_type | degree () |
static Vector * | makeArray (size_type N, size_type _dim) |
static size_type | size () |
Static Public Attributes | |
static const size_type | csDim |
Protected Attributes | |
ScalarType | data [capacity] |
For a Multiindex mi, mi[p] is a number of differentiation with respect to i-th variable. For example, a Multipointer mp=(0,0,2,3) in 5-dimensional space corresponds to the Multiindex mi=(2,0,1,1,0). Hence, Multiindex agrees with standard notation and it contains an additional information about the dimension of the domain of the function.
For polynomial: Multiindex stores exponents of a given monomial. e.g. monomial of 4 variables (x,y,z,t) has multiindex (2,0,3,0)
typedef Vector<int,0>::const_iterator capd::vectalg::Multiindex::const_iterator |
|
inherited |
|
inherited |
|
inherited |
typedef std::vector<MultiindexVector> capd::vectalg::Multiindex::IndicesSet |
typedef Vector<int,0>::iterator capd::vectalg::Multiindex::iterator |
typedef std::vector<Multiindex> capd::vectalg::Multiindex::MultiindexVector |
|
inherited |
|
inherited |
typedef Vector<int,0>::size_type capd::vectalg::Multiindex::size_type |
|
inherited |
|
inline |
|
inlineexplicit |
capd::vectalg::Multiindex::Multiindex | ( | size_type | _dimension, |
const Multipointer & | mp | ||
) |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlinestaticinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
long capd::vectalg::Multiindex::factorial | ( | ) | const |
for multiindex (a,b,..,n) returns a!b!...n!
|
static |
bool capd::vectalg::Multiindex::hasNext | ( | ) |
Multiindex::size_type capd::vectalg::Multiindex::index | ( | size_type | maxDegree | ) | const |
computes index in the array that corresponds to this multiindex
|
staticinherited |
Multiindex::size_type capd::vectalg::Multiindex::module | ( | ) | const |
returns sum of multiindex coordinates (i.e. degree of monomial)
returns sum of the multiindex entries
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlinestaticinherited |
|
inherited |
|
staticinherited |
|
protectedinherited |