27 #ifndef MPBLOCKS_POLYNOMIAL_LVALUE_H_ 
   28 #define MPBLOCKS_POLYNOMIAL_LVALUE_H_ 
   31 namespace polynomial   {
 
   34 template <
typename Scalar, 
class Exp>
 
   45             return static_cast<Exp const&
>(*this).size();
 
   56             return static_cast<Exp&
>(*this)[i];
 
   70             for( 
int i=0; i < B.
size(); i++)
 
   77             static_cast<Exp*
>(
this)->
resize( size );
 
   85                     static_cast< Exp& 
>(*this) );
 
   90             for(
int i=0; i < 
size(); i++)
 
   96 template <
typename Scalar, 
class Exp>
 
  114 #endif // MATRIXEXPRESSION_H_ 
expression template for rvalues 
 
Size_t size() const 
return the size for a vector 
 
Size_t size() const 
return the size for a vector 
 
LValue< Scalar, Exp > & lvalue(LValue< Scalar, Exp > &exp)
 
Stream_t operator<<(Scalar x)
returns a stream for assignment 
 
expression template for rvalues 
 
StreamAssignment< LValue< Scalar, Exp > > Stream_t
 
Scalar & operator[](Size_t i)
return the evaluated i'th element of a vector expression 
 
LValue< Scalar, Exp > & operator=(RValue< Scalar, Exp2 > const &B)