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

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

#include <fiber/difference.h>

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

Public Types

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

Public Member Functions

 _Difference (Exp1 const &A, Exp2 const &B)
 
Size cols () const
 
Scalar operator() (Size i, Size j) const
 
Scalar operator[] (Size i) const
 
Size rows () const
 
Size size () const
 
- Public Member Functions inherited from fiber::_RValue< Scalar, _Difference< 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::_Difference< Scalar, Exp1, Exp2 >

expression template for difference of two matrix expressions

Definition at line 33 of file difference.h.

Member Enumeration Documentation

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

Definition at line 38 of file difference.h.

Constructor & Destructor Documentation

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

Definition at line 44 of file difference.h.

Member Function Documentation

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

Definition at line 53 of file difference.h.

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

Definition at line 59 of file difference.h.

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

Definition at line 55 of file difference.h.

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

Definition at line 52 of file difference.h.

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

Definition at line 51 of file difference.h.

Member Data Documentation

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

Definition at line 34 of file difference.h.

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

Definition at line 35 of file difference.h.


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