cheshirekow  v0.1.0
fiber::_Scale< Scalar, Exp > Class Template Reference

#include <fiber/scale.h>

Inheritance diagram for fiber::_Scale< Scalar, Exp >:
fiber::_RValue< Scalar, _Scale< Scalar, Exp > >

Public Types

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

Public Member Functions

 _Scale (Scalar s, Exp const &A)
 
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, _Scale< Scalar, Exp > >
Size cols () const
 
Scalar operator() (Size i, Size j) const
 
Scalar operator[] (Size i) const
 
Size rows () const
 
Size size () const
 

Private Attributes

Exp const & M_
 
Scalar s_
 

Detailed Description

template<typename Scalar, class Exp>
class fiber::_Scale< Scalar, Exp >

Definition at line 32 of file scale.h.

Member Enumeration Documentation

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

Definition at line 37 of file scale.h.

Constructor & Destructor Documentation

template<typename Scalar, class Exp>
fiber::_Scale< Scalar, Exp >::_Scale ( Scalar  s,
Exp const &  A 
)
inline

Definition at line 43 of file scale.h.

Member Function Documentation

template<typename Scalar, class Exp>
Size fiber::_Scale< Scalar, Exp >::cols ( ) const
inline

Definition at line 47 of file scale.h.

template<typename Scalar, class Exp>
Scalar fiber::_Scale< Scalar, Exp >::operator() ( Size  i,
Size  j 
) const
inline

Definition at line 50 of file scale.h.

template<typename Scalar, class Exp>
Scalar fiber::_Scale< Scalar, Exp >::operator[] ( Size  i) const
inline

Definition at line 49 of file scale.h.

template<typename Scalar, class Exp>
Size fiber::_Scale< Scalar, Exp >::rows ( ) const
inline

Definition at line 46 of file scale.h.

template<typename Scalar, class Exp>
Size fiber::_Scale< Scalar, Exp >::size ( ) const
inline

Definition at line 45 of file scale.h.

Member Data Documentation

template<typename Scalar, class Exp>
Exp const& fiber::_Scale< Scalar, Exp >::M_
private

Definition at line 34 of file scale.h.

template<typename Scalar, class Exp>
Scalar fiber::_Scale< Scalar, Exp >::s_
private

Definition at line 33 of file scale.h.


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