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