cheshirekow  v0.1.0
mpblocks::polynomial::RValue< Scalar, Exp > Class Template Reference

expression template for rvalues More...

#include <mpblocks/polynomial/RValue.h>

Public Types

typedef unsigned int Size_t
 

Public Member Functions

Size_t degree () const
 
 operator Exp & ()
 return a reference to the derived type More...
 
 operator Exp 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...
 

Detailed Description

template<typename Scalar, class Exp>
class mpblocks::polynomial::RValue< Scalar, Exp >

expression template for rvalues

Definition at line 35 of file RValue.h.

Member Typedef Documentation

template<typename Scalar, class Exp>
typedef unsigned int mpblocks::polynomial::RValue< Scalar, Exp >::Size_t

Definition at line 38 of file RValue.h.

Member Function Documentation

template<typename Scalar, class Exp>
Size_t mpblocks::polynomial::RValue< Scalar, Exp >::degree ( ) const
inline

Definition at line 46 of file RValue.h.

template<typename Scalar, class Exp>
mpblocks::polynomial::RValue< Scalar, Exp >::operator Exp & ( )
inline

return a reference to the derived type

Definition at line 62 of file RValue.h.

template<typename Scalar, class Exp>
mpblocks::polynomial::RValue< Scalar, Exp >::operator Exp const & ( )
inline

return a const reference to the derived type

Definition at line 68 of file RValue.h.

template<typename Scalar, class Exp>
Scalar mpblocks::polynomial::RValue< Scalar, Exp >::operator[] ( Size_t  i) const
inline

return the evaluated i'th element of a vector expression

Definition at line 53 of file RValue.h.

template<typename Scalar, class Exp>
Size_t mpblocks::polynomial::RValue< Scalar, Exp >::size ( ) const
inline

return the size for a vector

Definition at line 41 of file RValue.h.


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