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

expression template for rvalues More...

#include <mpblocks/polynomial/LValue.h>

Public Types

typedef unsigned int Size_t
 
typedef StreamAssignment
< LValue< Scalar, Exp > > 
Stream_t
 

Public Member Functions

Size_t degree () const
 
void fill (Scalar val)
 
 operator RValue< Scalar, Exp > ()
 
Stream_t operator<< (Scalar x)
 returns a stream for assignment More...
 
template<class Exp2 >
LValue< Scalar, Exp > & operator= (RValue< Scalar, Exp2 > const &B)
 
Scalar & operator[] (Size_t i)
 return the evaluated i'th element of a vector expression More...
 
void resize (Size_t size)
 
Size_t size () const
 return the size for a vector More...
 

Detailed Description

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

expression template for rvalues

Definition at line 35 of file LValue.h.

Member Typedef Documentation

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

Definition at line 40 of file LValue.h.

template<typename Scalar, class Exp>
typedef StreamAssignment< LValue<Scalar,Exp> > mpblocks::polynomial::LValue< Scalar, Exp >::Stream_t

Definition at line 38 of file LValue.h.

Member Function Documentation

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

Definition at line 48 of file LValue.h.

template<typename Scalar, class Exp>
void mpblocks::polynomial::LValue< Scalar, Exp >::fill ( Scalar  val)
inline

Definition at line 88 of file LValue.h.

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

Definition at line 81 of file LValue.h.

template<typename Scalar, class Exp>
Stream_t mpblocks::polynomial::LValue< Scalar, Exp >::operator<< ( Scalar  x)
inline

returns a stream for assignment

Definition at line 60 of file LValue.h.

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

Definition at line 67 of file LValue.h.

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

return the evaluated i'th element of a vector expression

Definition at line 54 of file LValue.h.

template<typename Scalar, class Exp>
void mpblocks::polynomial::LValue< Scalar, Exp >::resize ( Size_t  size)
inline

Definition at line 75 of file LValue.h.

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

return the size for a vector

Definition at line 43 of file LValue.h.


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