CAPD::DynSys Library  6.0.0
Multiindex.h File Reference
#include <stdexcept>
#include <vector>
#include "capd/basicalg/factrial.h"
#include "capd/basicalg/TypeTraits.h"
#include "capd/vectalg/Vector.h"

Classes

class  capd::vectalg::Multipointer
 Multipointer always contains nondecreasing list of indexes of variables. More...
 
class  capd::vectalg::Multiindex
 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...
 

Namespaces

 capd
 
 capd::vectalg
 

Functions

Multipointer capd::vectalg::sumMultipointers (const Multipointer &, const Multipointer &)
 
Multipointer capd::vectalg::addIndex (const Multipointer &mp, int index)
 returns new multipointer which is multiindex mp with index added in correct place More...
 
Multipointer capd::vectalg::push_back (const Multipointer &mp, int index)
 appends index to the end of multipointer mp More...
 
bool capd::vectalg::hasIndex (const Multipointer &mp, int index)
 checks if muiltipointer contains index More...
 
int capd::vectalg::indexCount (const Multipointer &mp, int index)
 returns the number of occurences of index in the multipointer More...
 
Multipointer capd::vectalg::removeIndex (const Multipointer &mp, int index)
 returns a multipointer with removed index More...
 
template<typename VectorType >
VectorType::ScalarType power (const VectorType &v, const capd::vectalg::Multiindex &m)
 It computes v^m where v is a vector and m is a multiindex. More...
 
template<typename VectorType >
VectorType::ScalarType power (const VectorType &v, const capd::vectalg::Multipointer &m)
 

Detailed Description

Author
Daniel Wilczak