CAPD RedHom Library
VectorOfChainsT< Chain > Class Template Reference

#include <capd/persistence/SparseCRMatrixT.hpp>

Public Member Functions

 VectorOfChainsT (int numberOfChains, int maxLengthOfChain)
 
Chain & entryAt (int i)
 
const Chain & entryAt (int i) const
 
void exchange (int i, int j)
 
void multiply (int i, ScalarType s)
 
void addMultiplicity (int i, int j, ScalarType s)
 
void setToIdentity ()
 
int numberOfNontrivialChains ()
 
bool trivial ()
 
void setToTrivial ()
 
void swap (VectorOfChainsT &v2)
 

Public Attributes

elements
 STL member. More...
 

Protected Types

typedef Chain::ScalarType ScalarType
 
typedef Chain::iterator iterator
 
typedef Chain::const_iterator const_iterator
 

Protected Attributes

int m_numberOfChains
 
int m_maxLengthOfChain
 

Member Typedef Documentation

template<typename Chain >
typedef Chain::const_iterator VectorOfChainsT< Chain >::const_iterator
protected
template<typename Chain >
typedef Chain::iterator VectorOfChainsT< Chain >::iterator
protected
template<typename Chain >
typedef Chain::ScalarType VectorOfChainsT< Chain >::ScalarType
protected

Constructor & Destructor Documentation

template<typename Chain >
VectorOfChainsT< Chain >::VectorOfChainsT ( int  numberOfChains,
int  maxLengthOfChain 
)
inline

Member Function Documentation

template<typename Chain >
void VectorOfChainsT< Chain >::addMultiplicity ( int  i,
int  j,
ScalarType  s 
)
inline
template<typename Chain >
Chain& VectorOfChainsT< Chain >::entryAt ( int  i)
inline
template<typename Chain >
const Chain& VectorOfChainsT< Chain >::entryAt ( int  i) const
inline
template<typename Chain >
void VectorOfChainsT< Chain >::exchange ( int  i,
int  j 
)
inline
template<typename Chain >
void VectorOfChainsT< Chain >::multiply ( int  i,
ScalarType  s 
)
inline
template<typename Chain >
int VectorOfChainsT< Chain >::numberOfNontrivialChains ( )
inline
template<typename Chain >
void VectorOfChainsT< Chain >::setToIdentity ( )
inline
template<typename Chain >
void VectorOfChainsT< Chain >::setToTrivial ( )
inline
template<typename Chain >
void VectorOfChainsT< Chain >::swap ( VectorOfChainsT< Chain > &  v2)
inline
template<typename Chain >
bool VectorOfChainsT< Chain >::trivial ( )
inline

Member Data Documentation

T std::vector< T >::elements
inherited

STL member.

template<typename Chain >
int VectorOfChainsT< Chain >::m_maxLengthOfChain
protected
template<typename Chain >
int VectorOfChainsT< Chain >::m_numberOfChains
protected