![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Functor returning entry (i, j) of the matrix product \( e_1 \cdot e_2 \). More...
#include <Functional.hpp>
Inheritance diagram for CDPL::Math::MatrixProduct< M1, M2 >:Public Types | |
| typedef MatrixVectorBinaryFunctor< M1, M2 >::ValueType | ValueType |
| typedef MatrixVectorBinaryFunctor< M1, M2 >::SizeType | SizeType |
| typedef MatrixVectorBinaryFunctor< M1, M2 >::ResultType | ResultType |
Public Types inherited from CDPL::Math::MatrixBinaryFunctor< M1, M2 > | |
| typedef CommonType< typename M1::ValueType, typename M2::ValueType >::Type | ValueType |
| The element value type (common type of the two matrix element types). More... | |
| typedef CommonType< typename M1::SizeType, typename M2::SizeType >::Type | SizeType |
| The unsigned size type (common type of the two matrix size types). More... | |
| typedef ValueType | ResultType |
| The scalar result type (alias for ValueType). More... | |
Static Public Member Functions | |
| template<typename E1 , typename E2 > | |
| static ResultType | apply (const MatrixExpression< E1 > &e1, const MatrixExpression< E2 > &e2, SizeType i, SizeType j) |
| Returns entry (i, j) of the matrix product \( e_1 \cdot e_2 \). More... | |
Functor returning entry (i, j) of the matrix product \( e_1 \cdot e_2 \).
| M1 | The first matrix expression type. |
| M2 | The second matrix expression type. |
| typedef MatrixVectorBinaryFunctor<M1, M2>::ValueType CDPL::Math::MatrixProduct< M1, M2 >::ValueType |
| typedef MatrixVectorBinaryFunctor<M1, M2>::SizeType CDPL::Math::MatrixProduct< M1, M2 >::SizeType |
| typedef MatrixVectorBinaryFunctor<M1, M2>::ResultType CDPL::Math::MatrixProduct< M1, M2 >::ResultType |
|
inlinestatic |
Returns entry (i, j) of the matrix product \( e_1 \cdot e_2 \).
| E1 | The first matrix expression type. |
| E2 | The second matrix expression type. |
| e1 | The first matrix expression. |
| e2 | The second matrix expression. |
| i | The zero-based row index of the result entry. |
| j | The zero-based column index of the result entry. |
| Base::SizeError | if e1.getSize2() does not equal e2.getSize1(). |