class HCL_ProductSpace_d : public HCL_VectorSpace_d

HCL_ProductSpace_d is the base class for product vector space classes

Inheritance:


Public Methods

virtual int operator == (const HCL_VectorSpace_d & xx) const
Operator ==; true (nonzero) if the input space agrees with this vector space, otherwise false (zero)
virtual HCL_Vector_d* Member () const
Virtual constructor
virtual HCL_VectorSpace_d* Replicate () const
Virtual copy constructor
virtual int Dim () const
Return the dimension of the vector space
virtual int Number () const
Number returns the number of factors.
virtual HCL_VectorSpace_d& operator) ( int i ) const
This operator returns a reference to the ith factor.
virtual ostream& Write (ostream & str) const
Write prints out the factors in the product.

Inherited from HCL_VectorSpace_d:

Public Methods

virtual int operator != (const HCL_VectorSpace_d & x) const
int Test( int display = 0, double tol = 100 ) const

Inherited from HCL_Base:

Public Methods

void IncCount() const
void DecCount() const
int Count() const

Documentation

HCL_ProductSpace_d is the base class for product vector space classes. Such a class represents a vector space of the form where each of is a vector space represented by an instance of HCL_VectorSpace_d.

In addition to the usual HCL_VectorSpace_d methods, this class can return the number of factors in the product (n) with the Number method, and can return a reference to any one of the factors with the () operator.

virtual int operator == (const HCL_VectorSpace_d & xx) const
Operator ==; true (nonzero) if the input space agrees with this vector space, otherwise false (zero)

virtual HCL_Vector_d* Member() const
Virtual constructor. This method constructs a vector belonging to this vector space and returns a pointer to it. Note that the calling routine is responsible for deleting the vector when it is no longer needed.

virtual HCL_VectorSpace_d* Replicate() const
Virtual copy constructor. Replicate constructs a copy of this vector space and returns a pointer to it.

virtual int Dim() const
Return the dimension of the vector space

virtual int Number() const
Number returns the number of factors.

virtual HCL_VectorSpace_d& operator)( int i ) const
This operator returns a reference to the ith factor.

virtual ostream& Write(ostream & str) const
Write prints out the factors in the product.


Direct child classes:
HCL_GenericProductSpace_d

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de