cheshirekow  v0.1.0
mpblocks::polynomial::Product< Scalar, Exp1, Exp2 > Class Template Reference

expression template for sum of two matrix expressions More...

#include <mpblocks/polynomial/Product.h>

Inheritance diagram for mpblocks::polynomial::Product< Scalar, Exp1, Exp2 >:
mpblocks::polynomial::RValue< Scalar, Product< Scalar, Exp1, Exp2 > >

Public Types

typedef unsigned int Size_t
 
- Public Types inherited from mpblocks::polynomial::RValue< Scalar, Product< Scalar, Exp1, Exp2 > >
typedef unsigned int Size_t
 

Public Member Functions

Scalar eval (Scalar x)
 
Scalar operator[] (Size_t n) const
 return the evaluated i'th element of a vector expression More...
 
 Product (Exp1 const &A, Exp2 const &B)
 
Size_t size () const
 return the size for a vector More...
 
- Public Member Functions inherited from mpblocks::polynomial::RValue< Scalar, Product< Scalar, Exp1, Exp2 > >
Size_t degree () const
 
 operator Product< Scalar, Exp1, Exp2 > & ()
 return a reference to the derived type More...
 
 operator Product< Scalar, Exp1, Exp2 >const & ()
 return a const reference to the derived type More...
 
Scalar operator[] (Size_t i) const
 return the evaluated i'th element of a vector expression More...
 
Size_t size () const
 return the size for a vector More...
 

Private Attributes

Exp1 const & m_A
 
Exp2 const & m_B
 

Detailed Description

template<typename Scalar, class Exp1, class Exp2>
class mpblocks::polynomial::Product< Scalar, Exp1, Exp2 >

expression template for sum of two matrix expressions

Definition at line 35 of file Product.h.

Member Typedef Documentation

template<typename Scalar , class Exp1 , class Exp2 >
typedef unsigned int mpblocks::polynomial::Product< Scalar, Exp1, Exp2 >::Size_t

Definition at line 44 of file Product.h.

Constructor & Destructor Documentation

template<typename Scalar , class Exp1 , class Exp2 >
mpblocks::polynomial::Product< Scalar, Exp1, Exp2 >::Product ( Exp1 const &  A,
Exp2 const &  B 
)
inline

Definition at line 46 of file Product.h.

Member Function Documentation

template<typename Scalar , class Exp1 , class Exp2 >
Scalar mpblocks::polynomial::Product< Scalar, Exp1, Exp2 >::eval ( Scalar  x)
inline

Definition at line 72 of file Product.h.

template<typename Scalar , class Exp1 , class Exp2 >
Scalar mpblocks::polynomial::Product< Scalar, Exp1, Exp2 >::operator[] ( Size_t  n) const
inline

return the evaluated i'th element of a vector expression

Definition at line 59 of file Product.h.

template<typename Scalar , class Exp1 , class Exp2 >
Size_t mpblocks::polynomial::Product< Scalar, Exp1, Exp2 >::size ( ) const
inline

return the size for a vector

Definition at line 53 of file Product.h.

Member Data Documentation

template<typename Scalar , class Exp1 , class Exp2 >
Exp1 const& mpblocks::polynomial::Product< Scalar, Exp1, Exp2 >::m_A
private

Definition at line 40 of file Product.h.

template<typename Scalar , class Exp1 , class Exp2 >
Exp2 const& mpblocks::polynomial::Product< Scalar, Exp1, Exp2 >::m_B
private

Definition at line 41 of file Product.h.


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