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

#include <AffineTransform.hpp>

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

Public Member Functions

 ScalingMatrix (SizeType n, const ValueType &sx=ValueType(1), const ValueType &sy=ValueType(1), const ValueType &sz=ValueType(1))
 
 ScalingMatrix (const ScalingMatrix &m)
 
void set (const ValueType &sx=ValueType(1), const ValueType &sy=ValueType(1), const ValueType &sz=ValueType(1))
 
ConstReference operator() (SizeType i, SizeType j) const
 
bool isEmpty () const
 
SizeType getSize1 () const
 
SizeType getSize2 () const
 
SizeType getMaxSize1 () const
 
SizeType getMaxSize2 () const
 
ScalingMatrixoperator= (const ScalingMatrix &m)
 
void swap (ScalingMatrix &m)
 
void resize (SizeType n)
 
- Public Member Functions inherited from CDPL::Math::MatrixContainer< ScalingMatrix< T > >
const ContainerTypeoperator() () const
 
ContainerTypeoperator() ()
 
- Public Member Functions inherited from CDPL::Math::MatrixExpression< ScalingMatrix< T > >
const ExpressionTypeoperator() () const
 
ExpressionTypeoperator() ()
 

Friends

void swap (ScalingMatrix &m1, ScalingMatrix &m2)
 

Additional Inherited Members

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

Member Typedef Documentation

◆ ValueType

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

◆ Reference

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

◆ ConstReference

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

◆ SizeType

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

◆ DifferenceType

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

◆ ClosureType

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

◆ ConstClosureType

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

◆ MatrixTemporaryType

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

◆ VectorTemporaryType

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

Constructor & Destructor Documentation

◆ ScalingMatrix() [1/2]

template<typename T >
CDPL::Math::ScalingMatrix< T >::ScalingMatrix ( SizeType  n,
const ValueType sx = ValueType(1),
const ValueType sy = ValueType(1),
const ValueType sz = ValueType(1) 
)
inlineexplicit

◆ ScalingMatrix() [2/2]

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

Member Function Documentation

◆ set()

template<typename T >
void CDPL::Math::ScalingMatrix< T >::set ( const ValueType sx = ValueType(1),
const ValueType sy = ValueType(1),
const ValueType sz = ValueType(1) 
)
inline

◆ operator()()

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

◆ isEmpty()

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

◆ getSize1()

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

◆ getSize2()

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

◆ getMaxSize1()

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

◆ getMaxSize2()

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

◆ operator=()

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

◆ swap()

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

◆ resize()

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

Friends And Related Function Documentation

◆ swap

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

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