Chemical Data Processing Library C++ API - Version 1.4.0
Public Types | List of all members
CDPL::Math::MatrixScalarRealUnaryFunctor< M > Struct Template Reference

Base class for unary functors that take a matrix expression and return a real-valued scalar (Math::MatrixNorm1, Math::MatrixNormFrobenius, Math::MatrixNormInfinity). More...

#include <Functional.hpp>

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

Public Types

typedef M::ValueType ValueType
 The matrix's element value type. More...
 
typedef TypeTraits< ValueType >::RealType RealType
 The real-valued type derived from ValueType via Math::TypeTraits. More...
 
typedef RealType ResultType
 The real-valued result type. More...
 

Detailed Description

template<typename M>
struct CDPL::Math::MatrixScalarRealUnaryFunctor< M >

Base class for unary functors that take a matrix expression and return a real-valued scalar (Math::MatrixNorm1, Math::MatrixNormFrobenius, Math::MatrixNormInfinity).

Template Parameters
MThe matrix expression type.

Member Typedef Documentation

◆ ValueType

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

The matrix's element value type.

◆ RealType

The real-valued type derived from ValueType via Math::TypeTraits.

◆ ResultType

template<typename M >
typedef RealType CDPL::Math::MatrixScalarRealUnaryFunctor< M >::ResultType

The real-valued result type.


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