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

#include <Matrix.hpp>

+ Inheritance diagram for CDPL::Math::IdentityMatrix< 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< IdentityMatrix< T > >
typedef IdentityMatrix< T > ContainerType
 
- Public Types inherited from CDPL::Math::MatrixExpression< E >
typedef E ExpressionType
 
- Public Types inherited from CDPL::Math::Expression< E >
typedef E ExpressionType
 

Public Member Functions

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

Friends

void swap (IdentityMatrix &m1, IdentityMatrix &m2)
 

Additional Inherited Members

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

Member Typedef Documentation

◆ ValueType

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

◆ Reference

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

◆ ConstReference

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

◆ SizeType

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

◆ DifferenceType

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

◆ ClosureType

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

◆ ConstClosureType

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

◆ MatrixTemporaryType

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

◆ VectorTemporaryType

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

Constructor & Destructor Documentation

◆ IdentityMatrix() [1/3]

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

◆ IdentityMatrix() [2/3]

template<typename T >
CDPL::Math::IdentityMatrix< T >::IdentityMatrix ( SizeType  m,
SizeType  n 
)
inline

◆ IdentityMatrix() [3/3]

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

Member Function Documentation

◆ operator()()

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

◆ isEmpty()

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

◆ getSize1()

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

◆ getSize2()

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

◆ getMaxSize1()

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

◆ getMaxSize2()

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

◆ operator=()

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

◆ swap()

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

◆ resize()

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

Friends And Related Function Documentation

◆ swap

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

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