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

#include <MatrixProxy.hpp>

+ Inheritance diagram for CDPL::Math::MatrixColumn< M >:

Public Types

typedef M MatrixType
 
typedef M::SizeType SizeType
 
typedef M::DifferenceType DifferenceType
 
typedef M::ValueType ValueType
 
typedef M::ConstReference ConstReference
 
typedef std::conditional< std::is_const< M >::value, typename M::ConstReference, typename M::Reference >::type Reference
 
typedef std::conditional< std::is_const< M >::value, typename M::ConstClosureType, typename M::ClosureType >::type MatrixClosureType
 
typedef const SelfType ConstClosureType
 
typedef SelfType ClosureType
 
- Public Types inherited from CDPL::Math::VectorExpression< MatrixColumn< M > >
typedef MatrixColumn< M > ExpressionType
 
- Public Types inherited from CDPL::Math::Expression< MatrixColumn< M > >
typedef MatrixColumn< M > ExpressionType
 

Public Member Functions

 MatrixColumn (MatrixType &m, SizeType i)
 
Reference operator() (SizeType i)
 
ConstReference operator() (SizeType i) const
 
Reference operator[] (SizeType i)
 
ConstReference operator[] (SizeType i) const
 
SizeType getIndex () const
 
SizeType getSize () const
 
bool isEmpty () const
 
MatrixClosureTypegetData ()
 
const MatrixClosureTypegetData () const
 
MatrixColumnoperator= (const MatrixColumn &c)
 
template<typename E >
MatrixColumnoperator= (const VectorExpression< E > &e)
 
template<typename E >
MatrixColumnoperator+= (const VectorExpression< E > &e)
 
template<typename E >
MatrixColumnoperator-= (const VectorExpression< E > &e)
 
template<typename T >
std::enable_if< IsScalar< T >::value, MatrixColumn >::type & operator*= (const T &t)
 
template<typename T >
std::enable_if< IsScalar< T >::value, MatrixColumn >::type & operator/= (const T &t)
 
template<typename E >
MatrixColumnassign (const VectorExpression< E > &e)
 
template<typename E >
MatrixColumnplusAssign (const VectorExpression< E > &e)
 
template<typename E >
MatrixColumnminusAssign (const VectorExpression< E > &e)
 
void swap (MatrixColumn &c)
 
- Public Member Functions inherited from CDPL::Math::VectorExpression< MatrixColumn< M > >
const ExpressionTypeoperator() () const
 
ExpressionTypeoperator() ()
 

Friends

void swap (MatrixColumn &c1, MatrixColumn &c2)
 

Additional Inherited Members

- Protected Member Functions inherited from CDPL::Math::VectorExpression< MatrixColumn< M > >
 VectorExpression ()
 
 ~VectorExpression ()
 
- Protected Member Functions inherited from CDPL::Math::Expression< MatrixColumn< M > >
 Expression ()
 
 ~Expression ()
 

Member Typedef Documentation

◆ MatrixType

template<typename M >
typedef M CDPL::Math::MatrixColumn< M >::MatrixType

◆ SizeType

template<typename M >
typedef M::SizeType CDPL::Math::MatrixColumn< M >::SizeType

◆ DifferenceType

template<typename M >
typedef M::DifferenceType CDPL::Math::MatrixColumn< M >::DifferenceType

◆ ValueType

template<typename M >
typedef M::ValueType CDPL::Math::MatrixColumn< M >::ValueType

◆ ConstReference

template<typename M >
typedef M::ConstReference CDPL::Math::MatrixColumn< M >::ConstReference

◆ Reference

template<typename M >
typedef std::conditional<std::is_const<M>::value, typename M::ConstReference, typename M::Reference>::type CDPL::Math::MatrixColumn< M >::Reference

◆ MatrixClosureType

template<typename M >
typedef std::conditional<std::is_const<M>::value, typename M::ConstClosureType, typename M::ClosureType>::type CDPL::Math::MatrixColumn< M >::MatrixClosureType

◆ ConstClosureType

template<typename M >
typedef const SelfType CDPL::Math::MatrixColumn< M >::ConstClosureType

◆ ClosureType

template<typename M >
typedef SelfType CDPL::Math::MatrixColumn< M >::ClosureType

Constructor & Destructor Documentation

◆ MatrixColumn()

template<typename M >
CDPL::Math::MatrixColumn< M >::MatrixColumn ( MatrixType m,
SizeType  i 
)
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename M >
Reference CDPL::Math::MatrixColumn< M >::operator() ( SizeType  i)
inline

◆ operator()() [2/2]

template<typename M >
ConstReference CDPL::Math::MatrixColumn< M >::operator() ( SizeType  i) const
inline

◆ operator[]() [1/2]

template<typename M >
Reference CDPL::Math::MatrixColumn< M >::operator[] ( SizeType  i)
inline

◆ operator[]() [2/2]

template<typename M >
ConstReference CDPL::Math::MatrixColumn< M >::operator[] ( SizeType  i) const
inline

◆ getIndex()

template<typename M >
SizeType CDPL::Math::MatrixColumn< M >::getIndex ( ) const
inline

◆ getSize()

template<typename M >
SizeType CDPL::Math::MatrixColumn< M >::getSize ( ) const
inline

◆ isEmpty()

template<typename M >
bool CDPL::Math::MatrixColumn< M >::isEmpty ( ) const
inline

◆ getData() [1/2]

template<typename M >
MatrixClosureType& CDPL::Math::MatrixColumn< M >::getData ( )
inline

◆ getData() [2/2]

template<typename M >
const MatrixClosureType& CDPL::Math::MatrixColumn< M >::getData ( ) const
inline

◆ operator=() [1/2]

template<typename M >
MatrixColumn& CDPL::Math::MatrixColumn< M >::operator= ( const MatrixColumn< M > &  c)
inline

◆ operator=() [2/2]

template<typename M >
template<typename E >
MatrixColumn& CDPL::Math::MatrixColumn< M >::operator= ( const VectorExpression< E > &  e)
inline

◆ operator+=()

template<typename M >
template<typename E >
MatrixColumn& CDPL::Math::MatrixColumn< M >::operator+= ( const VectorExpression< E > &  e)
inline

◆ operator-=()

template<typename M >
template<typename E >
MatrixColumn& CDPL::Math::MatrixColumn< M >::operator-= ( const VectorExpression< E > &  e)
inline

◆ operator*=()

template<typename M >
template<typename T >
std::enable_if<IsScalar<T>::value, MatrixColumn>::type& CDPL::Math::MatrixColumn< M >::operator*= ( const T &  t)
inline

◆ operator/=()

template<typename M >
template<typename T >
std::enable_if<IsScalar<T>::value, MatrixColumn>::type& CDPL::Math::MatrixColumn< M >::operator/= ( const T &  t)
inline

◆ assign()

template<typename M >
template<typename E >
MatrixColumn& CDPL::Math::MatrixColumn< M >::assign ( const VectorExpression< E > &  e)
inline

◆ plusAssign()

template<typename M >
template<typename E >
MatrixColumn& CDPL::Math::MatrixColumn< M >::plusAssign ( const VectorExpression< E > &  e)
inline

◆ minusAssign()

template<typename M >
template<typename E >
MatrixColumn& CDPL::Math::MatrixColumn< M >::minusAssign ( const VectorExpression< E > &  e)
inline

◆ swap()

template<typename M >
void CDPL::Math::MatrixColumn< M >::swap ( MatrixColumn< M > &  c)
inline

Friends And Related Function Documentation

◆ swap

template<typename M >
void swap ( MatrixColumn< M > &  c1,
MatrixColumn< M > &  c2 
)
friend

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