Public Types | Public Member Functions | Protected Attributes
ScaledProduct< NestedProduct > Class Template Reference

#include <ProductBase.h>

Inheritance diagram for ScaledProduct< NestedProduct >:
Inheritance graph
[legend]

List of all members.

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 Scalaralpha () 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

Detailed Description

template<typename NestedProduct>
class ScaledProduct< NestedProduct >

Definition at line 242 of file ProductBase.h.


Member Typedef Documentation

template<typename NestedProduct>
typedef ProductBase<ScaledProduct<NestedProduct>, typename NestedProduct::_LhsNested, typename NestedProduct::_RhsNested> ScaledProduct< NestedProduct >::Base
template<typename NestedProduct>
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.

template<typename NestedProduct>
typedef Base::Scalar ScaledProduct< NestedProduct >::Scalar

Reimplemented from MatrixBase< ScaledProduct< NestedProduct > >.

Definition at line 251 of file ProductBase.h.


Constructor & Destructor Documentation

template<typename NestedProduct>
ScaledProduct< NestedProduct >::ScaledProduct ( const NestedProduct &  prod,
Scalar  x 
) [inline]

Definition at line 255 of file ProductBase.h.


Member Function Documentation

template<typename NestedProduct>
template<typename Dest >
void ScaledProduct< NestedProduct >::addTo ( Dest &  dst) const [inline]
template<typename NestedProduct>
const Scalar& ScaledProduct< NestedProduct >::alpha ( ) const [inline]

Definition at line 270 of file ProductBase.h.

template<typename NestedProduct>
template<typename Dest >
void ScaledProduct< NestedProduct >::evalTo ( Dest &  dst) const [inline]
template<typename NestedProduct>
template<typename Dest >
void ScaledProduct< NestedProduct >::scaleAndAddTo ( Dest &  dst,
Scalar  alpha 
) const [inline]

Definition at line 268 of file ProductBase.h.

template<typename NestedProduct>
template<typename Dest >
void ScaledProduct< NestedProduct >::subTo ( Dest &  dst) const [inline]

Member Data Documentation

template<typename NestedProduct>
Scalar ScaledProduct< NestedProduct >::m_alpha [protected]

Definition at line 274 of file ProductBase.h.

template<typename NestedProduct>
const NestedProduct& ScaledProduct< NestedProduct >::m_prod [protected]

Definition at line 273 of file ProductBase.h.


The documentation for this class was generated from the following file:


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:18