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

#include <MatrixAdapter.hpp>

+ Inheritance diagram for CDPL::Math::TriangularAdapter< M, Tri >:

Public Types

typedef M MatrixType
 
typedef Tri TriangularType
 
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
 
typedef Range< SizeTypeRangeType
 
- Public Types inherited from CDPL::Math::MatrixExpression< TriangularAdapter< M, Tri > >
typedef TriangularAdapter< M, Tri > ExpressionType
 
- Public Types inherited from CDPL::Math::Expression< TriangularAdapter< M, Tri > >
typedef TriangularAdapter< M, Tri > ExpressionType
 

Public Member Functions

 TriangularAdapter (MatrixType &m)
 
ConstReference operator() (SizeType i, SizeType j) const
 
SizeType getSize1 () const
 
SizeType getSize2 () const
 
MatrixClosureTypegetData ()
 
const MatrixClosureTypegetData () const
 
bool isEmpty () const
 
- Public Member Functions inherited from CDPL::Math::MatrixExpression< TriangularAdapter< M, Tri > >
const ExpressionTypeoperator() () const
 
ExpressionTypeoperator() ()
 

Friends

struct Lower
 
struct UnitLower
 
struct Upper
 
struct UnitUpper
 

Additional Inherited Members

- Protected Member Functions inherited from CDPL::Math::MatrixExpression< TriangularAdapter< M, Tri > >
 MatrixExpression ()
 
 ~MatrixExpression ()
 
- Protected Member Functions inherited from CDPL::Math::Expression< TriangularAdapter< M, Tri > >
 Expression ()
 
 ~Expression ()
 

Member Typedef Documentation

◆ MatrixType

template<typename M , typename Tri >
typedef M CDPL::Math::TriangularAdapter< M, Tri >::MatrixType

◆ TriangularType

template<typename M , typename Tri >
typedef Tri CDPL::Math::TriangularAdapter< M, Tri >::TriangularType

◆ SizeType

template<typename M , typename Tri >
typedef M::SizeType CDPL::Math::TriangularAdapter< M, Tri >::SizeType

◆ DifferenceType

template<typename M , typename Tri >
typedef M::DifferenceType CDPL::Math::TriangularAdapter< M, Tri >::DifferenceType

◆ ValueType

template<typename M , typename Tri >
typedef M::ValueType CDPL::Math::TriangularAdapter< M, Tri >::ValueType

◆ ConstReference

template<typename M , typename Tri >
typedef M::ConstReference CDPL::Math::TriangularAdapter< M, Tri >::ConstReference

◆ Reference

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

◆ MatrixClosureType

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

◆ ConstClosureType

template<typename M , typename Tri >
typedef const SelfType CDPL::Math::TriangularAdapter< M, Tri >::ConstClosureType

◆ ClosureType

template<typename M , typename Tri >
typedef SelfType CDPL::Math::TriangularAdapter< M, Tri >::ClosureType

◆ RangeType

template<typename M , typename Tri >
typedef Range<SizeType> CDPL::Math::TriangularAdapter< M, Tri >::RangeType

Constructor & Destructor Documentation

◆ TriangularAdapter()

template<typename M , typename Tri >
CDPL::Math::TriangularAdapter< M, Tri >::TriangularAdapter ( MatrixType m)
inlineexplicit

Member Function Documentation

◆ operator()()

template<typename M , typename Tri >
ConstReference CDPL::Math::TriangularAdapter< M, Tri >::operator() ( SizeType  i,
SizeType  j 
) const
inline

◆ getSize1()

template<typename M , typename Tri >
SizeType CDPL::Math::TriangularAdapter< M, Tri >::getSize1 ( ) const
inline

◆ getSize2()

template<typename M , typename Tri >
SizeType CDPL::Math::TriangularAdapter< M, Tri >::getSize2 ( ) const
inline

◆ getData() [1/2]

template<typename M , typename Tri >
MatrixClosureType& CDPL::Math::TriangularAdapter< M, Tri >::getData ( )
inline

◆ getData() [2/2]

template<typename M , typename Tri >
const MatrixClosureType& CDPL::Math::TriangularAdapter< M, Tri >::getData ( ) const
inline

◆ isEmpty()

template<typename M , typename Tri >
bool CDPL::Math::TriangularAdapter< M, Tri >::isEmpty ( ) const
inline

Friends And Related Function Documentation

◆ Lower

template<typename M , typename Tri >
friend struct Lower
friend

◆ UnitLower

template<typename M , typename Tri >
friend struct UnitLower
friend

◆ Upper

template<typename M , typename Tri >
friend struct Upper
friend

◆ UnitUpper

template<typename M , typename Tri >
friend struct UnitUpper
friend

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