![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Functor returning the sum of all elements of a matrix expression. More...
#include <Functional.hpp>
Inheritance diagram for CDPL::Math::MatrixElementSum< M >:Public Types | |
| typedef MatrixScalarUnaryFunctor< M >::ResultType | ResultType |
Public Types inherited from CDPL::Math::MatrixScalarUnaryFunctor< M > | |
| typedef M::ValueType | ResultType |
| The scalar result type (the matrix's element value type). More... | |
Static Public Member Functions | |
| static ResultType | apply (const MatrixExpression< M > &e) |
| Returns the element sum of e. More... | |
Functor returning the sum of all elements of a matrix expression.
| M | The matrix expression type. |
| typedef MatrixScalarUnaryFunctor<M>::ResultType CDPL::Math::MatrixElementSum< M >::ResultType |
|
inlinestatic |
Returns the element sum of e.
| e | The matrix expression. |