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

Functor returning the L∞ (maximum absolute row sum) norm of a matrix expression. More...

#include <Functional.hpp>

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

Public Types

typedef MatrixScalarRealUnaryFunctor< M >::ValueType ValueType
 
typedef MatrixScalarRealUnaryFunctor< M >::RealType RealType
 
typedef MatrixScalarRealUnaryFunctor< M >::ResultType ResultType
 
- Public Types inherited from CDPL::Math::MatrixScalarRealUnaryFunctor< M >
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...
 

Static Public Member Functions

static ResultType apply (const MatrixExpression< M > &e)
 Returns the L∞ norm of e. More...
 

Detailed Description

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

Functor returning the L∞ (maximum absolute row sum) norm of a matrix expression.

Template Parameters
MThe matrix expression type.

Member Typedef Documentation

◆ ValueType

◆ RealType

◆ ResultType

Member Function Documentation

◆ apply()

template<typename M >
static ResultType CDPL::Math::MatrixNormInfinity< M >::apply ( const MatrixExpression< M > &  e)
inlinestatic

Returns the L∞ norm of e.

Parameters
eThe matrix expression.
Returns
\( \max_i \sum_j \|e(i, j)\|_\infty \).

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