Public Member Functions | List of all members
Seldon::VectorSum< T, E1, E2 > Class Template Reference

Sum between two expressions. More...

#include <VectorExpression.hxx>

Inheritance diagram for Seldon::VectorSum< T, E1, E2 >:
Seldon::VectorExpression< T, VectorSum< T, E1, E2 > >

Public Member Functions

template<class T1 , class T2 >
 VectorSum (const VectorExpression< T1, E1 > &, const VectorExpression< T2, E2 > &)
 Constructor u+v with two expressions u and v.
 
long GetSize () const
 returns the size of the associated vectors
 
const T operator() (long) const
 returns the i-th element of the sum

 
long GetSize () const
 returns the size of the associated vector
 
 operator VectorSum< T, E1, E2 > & ()
 
 operator VectorSum< T, E1, E2 > const & () const
 

Detailed Description

template<class T, class E1, class E2>
class Seldon::VectorSum< T, E1, E2 >

Sum between two expressions.

Definition at line 39 of file VectorExpression.hxx.


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