#include <ProductBase.h>
Public Types | |
typedef ProductBase < ScaledProduct< NestedProduct > , typename NestedProduct::_LhsNested, typename NestedProduct::_RhsNested > | Base |
typedef Base::PlainObject | PlainObject |
The plain matrix type corresponding to this expression. | |
typedef Base::Scalar | Scalar |
Public Member Functions | |
template<typename Dest > | |
void | addTo (Dest &dst) const |
const Scalar & | alpha () const |
template<typename Dest > | |
void | evalTo (Dest &dst) const |
template<typename Dest > | |
void | scaleAndAddTo (Dest &dst, Scalar alpha) const |
ScaledProduct (const NestedProduct &prod, Scalar x) | |
template<typename Dest > | |
void | subTo (Dest &dst) const |
Protected Attributes | |
Scalar | m_alpha |
const NestedProduct & | m_prod |
Definition at line 242 of file ProductBase.h.
typedef ProductBase<ScaledProduct<NestedProduct>, typename NestedProduct::_LhsNested, typename NestedProduct::_RhsNested> ScaledProduct< NestedProduct >::Base |
Reimplemented from ProductBase< ScaledProduct< NestedProduct >, NestedProduct::_LhsNested, NestedProduct::_RhsNested >.
Definition at line 250 of file ProductBase.h.
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 >.
Definition at line 252 of file ProductBase.h.
typedef Base::Scalar ScaledProduct< NestedProduct >::Scalar |
Reimplemented from MatrixBase< ScaledProduct< NestedProduct > >.
Definition at line 251 of file ProductBase.h.
ScaledProduct< NestedProduct >::ScaledProduct | ( | const NestedProduct & | prod, |
Scalar | x | ||
) | [inline] |
Definition at line 255 of file ProductBase.h.
void ScaledProduct< NestedProduct >::addTo | ( | Dest & | dst | ) | const [inline] |
Reimplemented from ProductBase< ScaledProduct< NestedProduct >, NestedProduct::_LhsNested, NestedProduct::_RhsNested >.
Definition at line 262 of file ProductBase.h.
const Scalar& ScaledProduct< NestedProduct >::alpha | ( | ) | const [inline] |
Definition at line 270 of file ProductBase.h.
void ScaledProduct< NestedProduct >::evalTo | ( | Dest & | dst | ) | const [inline] |
Reimplemented from ProductBase< ScaledProduct< NestedProduct >, NestedProduct::_LhsNested, NestedProduct::_RhsNested >.
Definition at line 259 of file ProductBase.h.
void ScaledProduct< NestedProduct >::scaleAndAddTo | ( | Dest & | dst, |
Scalar | alpha | ||
) | const [inline] |
Definition at line 268 of file ProductBase.h.
void ScaledProduct< NestedProduct >::subTo | ( | Dest & | dst | ) | const [inline] |
Reimplemented from ProductBase< ScaledProduct< NestedProduct >, NestedProduct::_LhsNested, NestedProduct::_RhsNested >.
Definition at line 265 of file ProductBase.h.
Scalar ScaledProduct< NestedProduct >::m_alpha [protected] |
Definition at line 274 of file ProductBase.h.
const NestedProduct& ScaledProduct< NestedProduct >::m_prod [protected] |
Definition at line 273 of file ProductBase.h.