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

#include <AffineTransform.hpp>

+ Inheritance diagram for CDPL::Math::TranslationMatrix< 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, std::vector< T > > MatrixTemporaryType
 
typedef Vector< T, std::vector< T > > VectorTemporaryType
 
- Public Types inherited from CDPL::Math::MatrixContainer< TranslationMatrix< T > >
typedef TranslationMatrix< T > ContainerType
 
- Public Types inherited from CDPL::Math::MatrixExpression< TranslationMatrix< T > >
typedef TranslationMatrix< T > ExpressionType
 
- Public Types inherited from CDPL::Math::Expression< TranslationMatrix< T > >
typedef TranslationMatrix< T > ExpressionType
 

Public Member Functions

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

Friends

void swap (TranslationMatrix &m1, TranslationMatrix &m2)
 

Additional Inherited Members

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

Member Typedef Documentation

◆ ValueType

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

◆ Reference

template<typename T >
typedef const T CDPL::Math::TranslationMatrix< T >::Reference

◆ ConstReference

template<typename T >
typedef const T CDPL::Math::TranslationMatrix< T >::ConstReference

◆ SizeType

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

◆ DifferenceType

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

◆ ClosureType

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

◆ ConstClosureType

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

◆ MatrixTemporaryType

template<typename T >
typedef Matrix<T, std::vector<T> > CDPL::Math::TranslationMatrix< T >::MatrixTemporaryType

◆ VectorTemporaryType

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

Constructor & Destructor Documentation

◆ TranslationMatrix() [1/2]

template<typename T >
CDPL::Math::TranslationMatrix< T >::TranslationMatrix ( SizeType  n,
const ValueType tx = ValueType(),
const ValueType ty = ValueType(),
const ValueType tz = ValueType() 
)
inlineexplicit

◆ TranslationMatrix() [2/2]

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

Member Function Documentation

◆ set()

template<typename T >
void CDPL::Math::TranslationMatrix< T >::set ( const ValueType tx = ValueType(),
const ValueType ty = ValueType(),
const ValueType tz = ValueType() 
)
inline

◆ operator()()

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

◆ isEmpty()

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

◆ getSize1()

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

◆ getSize2()

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

◆ getMaxSize1()

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

◆ getMaxSize2()

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

◆ operator=()

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

◆ swap()

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

◆ resize()

template<typename T >
void CDPL::Math::TranslationMatrix< T >::resize ( SizeType  n)
inline

Friends And Related Function Documentation

◆ swap

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

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