HCL_ProductVector_d represents a vector from a product space
![]() | Add ( const HCL_Vector_d & x ) z <-- z + x |
![]() | Add ( const HCL_Vector_d & x, const HCL_Vector_d & y ) z <-- x + y |
![]() | AddScale (const double & a, const HCL_Vector_d & x, const HCL_Vector_d & y ) z <-- x + a*y |
![]() | AddScale (const double & a, const HCL_Vector_d & x ) z <-- z + a*x |
![]() | Copy ( const HCL_Vector_d & x ) z <-- x (here and below, z is *this) |
![]() | HCL_ProductVector_d ( int n ) This constructor creates a product vector with n factors |
![]() | HCL_ProductVector_d () Default constructor---for use by derived classes that wish to assign the space and length |
![]() | HCL_ProductVector_d ( HCL_ProductVectorSpace_d * p ) Constructor to create a vector from the space (copies pointer). |
![]() | HCL_ProductVector_d (const HCL_ProductVectorSpace_d & p) Constructor to create a vector from the space. |
![]() | HCL_ProductVector_d ( HCL_Vector_d * v1, HCL_Vector_d * v2 ) Creates a vector from a product space with two factors |
![]() | Initialized () Initialized is a boolean method indicating whether the factors in the vector have been initialized |
![]() | Inner ( const HCL_Vector_d & x ) Inner product of z with x |
![]() | IsSet ( int i ) IsSet is a boolean method indicating whether the indicated factor has been set |
![]() | Mul ( const double & a, const HCL_Vector_d & x ) z <-- a*x |
![]() | Mul ( const double & a ) z <-- a*z |
![]() | Neg () z <-- -z |
![]() | Norm () Norm of z |
![]() | Norm2 () Norm squared of z |
![]() | Number () Number returns the number of factors in the product. |
![]() | operator) (int i) Operator() returns a reference to the ith factor. |
![]() | ProductSpace () ProductSpace returns a reference to the space to which this vector, explicitly as a product space belongs |
![]() | Random () Returns a "random" vector |
![]() | ScaleAdd (const double & a, const HCL_Vector_d & x ) z <-- a*z + x |
![]() | Set ( int i, HCL_Vector_d * x ) Set specifies an arbitrary vector in the product |
![]() | SetNext ( HCL_Vector_d * x ) SetNext specifies the next vector in the product |
![]() | Space () Space returns a reference to the space to which this vector belongs. |
![]() | Sub (const HCL_Vector_d & x, const HCL_Vector_d & y ) z <-- x - y |
![]() | Sub ( const HCL_Vector_d & x ) z <-- z - x |
![]() | Write (ostream &) Write prints out information about the object. |
![]() | Zero () z <-- 0 |
![]() | ~HCL_ProductVector_d () Destructor. |
Vector operations (z is *this, which is C++-ese for the instance of the class invoking the method)
HCL_ProductVector_d represents a vector from a product space
HCL_ProductVector_d(const HCL_ProductVectorSpace_d & p)
HCL_ProductVector_d( HCL_ProductVectorSpace_d * p )
HCL_ProductVector_d( HCL_Vector_d * v1, HCL_Vector_d * v2 )
HCL_ProductVector_d( int n )
virtual ~HCL_ProductVector_d()
int Initialized()
int IsSet( int i )
virtual HCL_Vector_d& operator)(int i)
virtual HCL_VectorSpace_d& Space()
virtual HCL_ProductVectorSpace_d& ProductSpace()
virtual int Number()
virtual void Copy( const HCL_Vector_d & x )
virtual void Neg()
virtual void Mul( const double & a )
virtual void Add( const HCL_Vector_d & x )
virtual void Mul( const double & a, const HCL_Vector_d & x )
virtual void Add( const HCL_Vector_d & x, const HCL_Vector_d & y )
virtual void Sub( const HCL_Vector_d & x )
virtual void Sub(const HCL_Vector_d & x, const HCL_Vector_d & y )
virtual void ScaleAdd(const double & a, const HCL_Vector_d & x )
virtual void AddScale(const double & a, const HCL_Vector_d & x )
virtual void AddScale(const double & a, const HCL_Vector_d & x, const HCL_Vector_d & y )
virtual double Inner( const HCL_Vector_d & x )
virtual double Norm()
virtual double Norm2()
virtual void Zero()
virtual void Random()
void SetNext( HCL_Vector_d * x )
void Set( int i, HCL_Vector_d * x )
virtual ostream& Write(ostream &)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de