Chemical Data Processing Library C++ API - Version 1.1.1
Public Types | Public Member Functions | Friends | List of all members
CDPL::Math::ScalarMatrix< T > Class Template Reference

#include <Matrix.hpp>

+ Inheritance diagram for CDPL::Math::ScalarMatrix< T >:

Public Types

typedef T ValueType
 
typedef const T & Reference
 
typedef const T & ConstReference
 
typedef std::size_t SizeType
 
typedef std::ptrdiff_t DifferenceType
 
typedef MatrixReference< SelfTypeClosureType
 
typedef const MatrixReference< const SelfTypeConstClosureType
 
typedef Matrix< T > MatrixTemporaryType
 
typedef Vector< T, std::vector< T > > VectorTemporaryType
 
- Public Types inherited from CDPL::Math::MatrixContainer< ScalarMatrix< T > >
typedef ScalarMatrix< T > ContainerType
 
- Public Types inherited from CDPL::Math::MatrixExpression< ScalarMatrix< T > >
typedef ScalarMatrix< T > ExpressionType
 
- Public Types inherited from CDPL::Math::Expression< ScalarMatrix< T > >
typedef ScalarMatrix< T > ExpressionType
 

Public Member Functions

 ScalarMatrix ()
 
 ScalarMatrix (SizeType m, SizeType n, const ValueType &v=ValueType())
 
 ScalarMatrix (const ScalarMatrix &m)
 
ConstReference operator() (SizeType i, SizeType j) const
 
bool isEmpty () const
 
SizeType getSize1 () const
 
SizeType getSize2 () const
 
SizeType getMaxSize1 () const
 
SizeType getMaxSize2 () const
 
ScalarMatrixoperator= (const ScalarMatrix &m)
 
void swap (ScalarMatrix &m)
 
void resize (SizeType m, SizeType n)
 
- Public Member Functions inherited from CDPL::Math::MatrixContainer< ScalarMatrix< T > >
const ContainerTypeoperator() () const
 
ContainerTypeoperator() ()
 
- Public Member Functions inherited from CDPL::Math::MatrixExpression< ScalarMatrix< T > >
const ExpressionTypeoperator() () const
 
ExpressionTypeoperator() ()
 

Friends

void swap (ScalarMatrix &m1, ScalarMatrix &m2)
 

Additional Inherited Members

- Protected Member Functions inherited from CDPL::Math::MatrixContainer< ScalarMatrix< T > >
 MatrixContainer ()
 
 ~MatrixContainer ()
 
- Protected Member Functions inherited from CDPL::Math::MatrixExpression< ScalarMatrix< T > >
 MatrixExpression ()
 
 ~MatrixExpression ()
 
- Protected Member Functions inherited from CDPL::Math::Expression< ScalarMatrix< T > >
 Expression ()
 
 ~Expression ()
 

Member Typedef Documentation

◆ ValueType

template<typename T >
typedef T CDPL::Math::ScalarMatrix< T >::ValueType

◆ Reference

template<typename T >
typedef const T& CDPL::Math::ScalarMatrix< T >::Reference

◆ ConstReference

template<typename T >
typedef const T& CDPL::Math::ScalarMatrix< T >::ConstReference

◆ SizeType

template<typename T >
typedef std::size_t CDPL::Math::ScalarMatrix< T >::SizeType

◆ DifferenceType

template<typename T >
typedef std::ptrdiff_t CDPL::Math::ScalarMatrix< T >::DifferenceType

◆ ClosureType

template<typename T >
typedef MatrixReference<SelfType> CDPL::Math::ScalarMatrix< T >::ClosureType

◆ ConstClosureType

template<typename T >
typedef const MatrixReference<const SelfType> CDPL::Math::ScalarMatrix< T >::ConstClosureType

◆ MatrixTemporaryType

template<typename T >
typedef Matrix<T> CDPL::Math::ScalarMatrix< T >::MatrixTemporaryType

◆ VectorTemporaryType

template<typename T >
typedef Vector<T, std::vector<T> > CDPL::Math::ScalarMatrix< T >::VectorTemporaryType

Constructor & Destructor Documentation

◆ ScalarMatrix() [1/3]

template<typename T >
CDPL::Math::ScalarMatrix< T >::ScalarMatrix ( )
inline

◆ ScalarMatrix() [2/3]

template<typename T >
CDPL::Math::ScalarMatrix< T >::ScalarMatrix ( SizeType  m,
SizeType  n,
const ValueType v = ValueType() 
)
inline

◆ ScalarMatrix() [3/3]

template<typename T >
CDPL::Math::ScalarMatrix< T >::ScalarMatrix ( const ScalarMatrix< T > &  m)
inline

Member Function Documentation

◆ operator()()

template<typename T >
ConstReference CDPL::Math::ScalarMatrix< T >::operator() ( SizeType  i,
SizeType  j 
) const
inline

◆ isEmpty()

template<typename T >
bool CDPL::Math::ScalarMatrix< T >::isEmpty ( ) const
inline

◆ getSize1()

template<typename T >
SizeType CDPL::Math::ScalarMatrix< T >::getSize1 ( ) const
inline

◆ getSize2()

template<typename T >
SizeType CDPL::Math::ScalarMatrix< T >::getSize2 ( ) const
inline

◆ getMaxSize1()

template<typename T >
SizeType CDPL::Math::ScalarMatrix< T >::getMaxSize1 ( ) const
inline

◆ getMaxSize2()

template<typename T >
SizeType CDPL::Math::ScalarMatrix< T >::getMaxSize2 ( ) const
inline

◆ operator=()

template<typename T >
ScalarMatrix& CDPL::Math::ScalarMatrix< T >::operator= ( const ScalarMatrix< T > &  m)
inline

◆ swap()

template<typename T >
void CDPL::Math::ScalarMatrix< T >::swap ( ScalarMatrix< T > &  m)
inline

◆ resize()

template<typename T >
void CDPL::Math::ScalarMatrix< T >::resize ( SizeType  m,
SizeType  n 
)
inline

Friends And Related Function Documentation

◆ swap

template<typename T >
void swap ( ScalarMatrix< T > &  m1,
ScalarMatrix< T > &  m2 
)
friend

The documentation for this class was generated from the following file: