CAPD RedHom Library
SparseColMatrixT< Chain > Class Template Reference

#include <capd/persistence/SparseCRMatrixT.hpp>

Public Member Functions

 SparseColMatrixT (int numberOfRows, int numberOfColumns)
 
int numberOfRows () const
 
int numberOfColumns () const
 
void leftMultiply (const SparseRowMatrixT< Chain > &Q)
 
int rankOfUpperTriangularMatrix ()
 
void swap (SparseColMatrixT &v2)
 
ChainentryAt (int i)
 
const ChainentryAt (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 VectorOfChainsT< Chain >::ScalarType ScalarType
 
typedef VectorOfChainsT< Chain >::iterator iterator
 
typedef VectorOfChainsT< Chain >::const_iterator const_iterator
 

Protected Attributes

int m_numberOfChains
 
int m_maxLengthOfChain
 

Friends

std::ostream & operator<< (std::ostream &o, const SparseColMatrixT< Chain > &Q)
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename Chain >
SparseColMatrixT< Chain >::SparseColMatrixT ( int  numberOfRows,
int  numberOfColumns 
)
inline

Member Function Documentation

template<typename Chain >
void VectorOfChainsT< Chain >::addMultiplicity ( int  i,
int  j,
ScalarType  s 
)
inlineinherited
template<typename Chain >
Chain& VectorOfChainsT< Chain >::entryAt ( int  i)
inlineinherited
template<typename Chain >
const Chain& VectorOfChainsT< Chain >::entryAt ( int  i) const
inlineinherited
template<typename Chain >
void VectorOfChainsT< Chain >::exchange ( int  i,
int  j 
)
inlineinherited
template<typename Chain >
void SparseColMatrixT< Chain >::leftMultiply ( const SparseRowMatrixT< Chain > &  Q)
inline
template<typename Chain >
void VectorOfChainsT< Chain >::multiply ( int  i,
ScalarType  s 
)
inlineinherited
template<typename Chain >
int SparseColMatrixT< Chain >::numberOfColumns ( ) const
inline
template<typename Chain >
int VectorOfChainsT< Chain >::numberOfNontrivialChains ( )
inlineinherited
template<typename Chain >
int SparseColMatrixT< Chain >::numberOfRows ( ) const
inline
template<typename Chain >
int SparseColMatrixT< Chain >::rankOfUpperTriangularMatrix ( )
inline
template<typename Chain >
void VectorOfChainsT< Chain >::setToIdentity ( )
inlineinherited
template<typename Chain >
void VectorOfChainsT< Chain >::setToTrivial ( )
inlineinherited
template<typename Chain >
void VectorOfChainsT< Chain >::swap ( VectorOfChainsT< Chain > &  v2)
inlineinherited
template<typename Chain >
void SparseColMatrixT< Chain >::swap ( SparseColMatrixT< Chain > &  v2)
inline
template<typename Chain >
bool VectorOfChainsT< Chain >::trivial ( )
inlineinherited

Friends And Related Function Documentation

template<typename Chain >
std::ostream& operator<< ( std::ostream &  o,
const SparseColMatrixT< Chain > &  Q 
)
friend

Member Data Documentation

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

STL member.

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