cheshirekow  v0.1.0
fiber::_Sum< Scalar, Exp1, Exp2 > Class Template Reference

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

#include <fiber/sum.h>

Inheritance diagram for fiber::_Sum< Scalar, Exp1, Exp2 >:
fiber::_RValue< Scalar, _Sum< Scalar, Exp1, Exp2 > >

Public Types

enum  { ROWS_ = Exp1::ROWS_, COLS_ = Exp1::COLS_, SIZE_ = Exp1::SIZE_ }
 

Public Member Functions

 _Sum (Exp1 const &A, Exp2 const &B)
 
Size cols () const
 
Scalar operator() (Index i, Index j) const
 
Scalar operator[] (Index i) const
 
Size rows () const
 
Size size () const
 
- Public Member Functions inherited from fiber::_RValue< Scalar, _Sum< Scalar, Exp1, Exp2 > >
Size cols () const
 
Scalar operator() (Size i, Size j) const
 
Scalar operator[] (Size i) const
 
Size rows () const
 
Size size () const
 

Private Attributes

Exp1 const & A_
 
Exp2 const & B_
 

Detailed Description

template<typename Scalar, class Exp1, class Exp2>
class fiber::_Sum< Scalar, Exp1, Exp2 >

expression template for sum of two matrix expressions

Definition at line 33 of file sum.h.

Member Enumeration Documentation

template<typename Scalar , class Exp1 , class Exp2 >
anonymous enum
Enumerator
ROWS_ 
COLS_ 
SIZE_ 

Definition at line 38 of file sum.h.

Constructor & Destructor Documentation

template<typename Scalar , class Exp1 , class Exp2 >
fiber::_Sum< Scalar, Exp1, Exp2 >::_Sum ( Exp1 const &  A,
Exp2 const &  B 
)
inline

Definition at line 44 of file sum.h.

Member Function Documentation

template<typename Scalar , class Exp1 , class Exp2 >
Size fiber::_Sum< Scalar, Exp1, Exp2 >::cols ( ) const
inline

Definition at line 53 of file sum.h.

template<typename Scalar , class Exp1 , class Exp2 >
Scalar fiber::_Sum< Scalar, Exp1, Exp2 >::operator() ( Index  i,
Index  j 
) const
inline

Definition at line 59 of file sum.h.

template<typename Scalar , class Exp1 , class Exp2 >
Scalar fiber::_Sum< Scalar, Exp1, Exp2 >::operator[] ( Index  i) const
inline

Definition at line 55 of file sum.h.

template<typename Scalar , class Exp1 , class Exp2 >
Size fiber::_Sum< Scalar, Exp1, Exp2 >::rows ( ) const
inline

Definition at line 52 of file sum.h.

template<typename Scalar , class Exp1 , class Exp2 >
Size fiber::_Sum< Scalar, Exp1, Exp2 >::size ( ) const
inline

Definition at line 51 of file sum.h.

Member Data Documentation

template<typename Scalar , class Exp1 , class Exp2 >
Exp1 const& fiber::_Sum< Scalar, Exp1, Exp2 >::A_
private

Definition at line 34 of file sum.h.

template<typename Scalar , class Exp1 , class Exp2 >
Exp2 const& fiber::_Sum< Scalar, Exp1, Exp2 >::B_
private

Definition at line 35 of file sum.h.


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