#include <ProductBase.h>
Public Types | |
typedef ProductBase < ScaledProduct< NestedProduct > , typename NestedProduct::_LhsNested, typename NestedProduct::_RhsNested > | Base |
typedef Base::Scalar | Scalar |
typedef Base::PlainObject | PlainObject |
The plain matrix type corresponding to this expression. | |
Public Member Functions | |
ScaledProduct (const NestedProduct &prod, Scalar x) | |
template<typename Dest > | |
void | evalTo (Dest &dst) const |
template<typename Dest > | |
void | addTo (Dest &dst) const |
template<typename Dest > | |
void | subTo (Dest &dst) const |
template<typename Dest > | |
void | scaleAndAddTo (Dest &dst, Scalar alpha) const |
const Scalar & | alpha () const |
Protected Attributes | |
const NestedProduct & | m_prod |
Scalar | m_alpha |
typedef ProductBase<ScaledProduct<NestedProduct>, typename NestedProduct::_LhsNested, typename NestedProduct::_RhsNested> ScaledProduct< NestedProduct >::Base |
typedef Base::PlainObject ScaledProduct< NestedProduct >::PlainObject |
The plain matrix type corresponding to this expression.
This is not necessarily exactly the return type of eval(). In the case of plain matrices, the return type of eval() is a const reference to a matrix, not a matrix! It is however guaranteed that the return type of eval() is either PlainObject or const PlainObject&.
Reimplemented from ProductBase< ScaledProduct< NestedProduct >, NestedProduct::_LhsNested, NestedProduct::_RhsNested >.
typedef Base::Scalar ScaledProduct< NestedProduct >::Scalar |
Reimplemented from MatrixBase< ScaledProduct< NestedProduct > >.
ScaledProduct< NestedProduct >::ScaledProduct | ( | const NestedProduct & | prod, | |
Scalar | x | |||
) | [inline] |
void ScaledProduct< NestedProduct >::addTo | ( | Dest & | dst | ) | const [inline] |
const Scalar& ScaledProduct< NestedProduct >::alpha | ( | ) | const [inline] |
void ScaledProduct< NestedProduct >::evalTo | ( | Dest & | dst | ) | const [inline] |
void ScaledProduct< NestedProduct >::scaleAndAddTo | ( | Dest & | dst, | |
Scalar | alpha | |||
) | const [inline] |
void ScaledProduct< NestedProduct >::subTo | ( | Dest & | dst | ) | const [inline] |
Scalar ScaledProduct< NestedProduct >::m_alpha [protected] |
const NestedProduct& ScaledProduct< NestedProduct >::m_prod [protected] |