Chemical Data Processing Library C++ API - Version 1.4.0
Classes | Namespaces | Functions
MatrixAdapter.hpp File Reference

Provides matrix adapter classes. More...

#include <type_traits>
#include "CDPL/Math/Expression.hpp"
#include "CDPL/Math/TypeTraits.hpp"

Go to the source code of this file.

Classes

struct  CDPL::Math::Lower
 Tag selecting the lower-triangular view (entries strictly above the diagonal read as zero) for Math::TriangularAdapter. More...
 
struct  CDPL::Math::UnitLower
 Tag selecting the unit-lower-triangular view (zero above the diagonal, one on the diagonal) for Math::TriangularAdapter. More...
 
struct  CDPL::Math::Upper
 Tag selecting the upper-triangular view (entries strictly below the diagonal read as zero) for Math::TriangularAdapter. More...
 
struct  CDPL::Math::UnitUpper
 Tag selecting the unit-upper-triangular view (zero below the diagonal, one on the diagonal) for Math::TriangularAdapter. More...
 
class  CDPL::Math::TriangularAdapter< M, Tri >
 Matrix expression that exposes only the triangular part of an underlying matrix M selected by the policy Tri (Math::Lower, Math::UnitLower, Math::Upper or Math::UnitUpper). More...
 
struct  CDPL::Math::VectorTemporaryTraits< TriangularAdapter< M, Tri > >
 Math::VectorTemporaryTraits specialization inheriting the temporary type of the wrapped matrix for a Math::TriangularAdapter view. More...
 
struct  CDPL::Math::VectorTemporaryTraits< const TriangularAdapter< M, Tri > >
 Math::VectorTemporaryTraits specialization inheriting the temporary type of the wrapped matrix for a const Math::TriangularAdapter view. More...
 
struct  CDPL::Math::MatrixTemporaryTraits< TriangularAdapter< M, Tri > >
 Math::MatrixTemporaryTraits specialization inheriting the temporary type of the wrapped matrix for a Math::TriangularAdapter view. More...
 
struct  CDPL::Math::MatrixTemporaryTraits< const TriangularAdapter< M, Tri > >
 Math::MatrixTemporaryTraits specialization inheriting the temporary type of the wrapped matrix for a const Math::TriangularAdapter view. More...
 

Namespaces

 CDPL
 The namespace of the Chemical Data Processing Library.
 
 CDPL::Math
 Contains classes and functions related to mathematics.
 

Functions

template<typename Tri , typename E >
TriangularAdapter< E, Tri > CDPL::Math::triang (MatrixExpression< E > &e)
 Creates a Math::TriangularAdapter view of the matrix expression e using the triangular policy Tri. More...
 
template<typename Tri , typename E >
TriangularAdapter< const E, Tri > CDPL::Math::triang (const MatrixExpression< E > &e)
 Creates a constant Math::TriangularAdapter view of the matrix expression e using the triangular policy Tri. More...
 

Detailed Description

Provides matrix adapter classes.