class HCL_PartitionedRnSpace_d : public HCL_ProductSpace_d

HCL_PartitionedRnSpace_d represents a product vector space, in which each factor is an instance of HCL_RnSpace_d

Inheritance:


Public Methods

virtual void* GetType ()
Get type of vector space for comparison
HCL_PartitionedRnSpace_d ( int n )
This constructor creates a space of n factors
HCL_PartitionedRnSpace_d ( int m, int n )
This constructor creates a space of n identical factors, each of dimension m
HCL_PartitionedRnSpace_d (const HCL_PartitionedRnSpace_d & x)
Copy constructor.
virtual HCL_Vector_d* Member ()
Virtual constructor
virtual int Number ()
Number returns the number of factors in the product.
virtual HCL_VectorSpace_d& operator) ( int i )
The () operator returns a reference to the ith factor in the product.
virtual HCL_VectorSpace_d* Replicate ()
Virtual copy constructor
void SetNext ( HCL_RnSpace_d * s )
SetNext is used to specify the next factor in the product
void SetNext ( int m )
SetNext is used to specify the dimension of the factors in the product

Inherited from HCL_ProductSpace_d:

Public Methods

virtual int Dim()
virtual int operator != (const HCL_VectorSpace_d & x)
virtual int operator == (const HCL_VectorSpace_d & xx)
virtual ostream& Write(ostream & str)

Inherited from HCL_VectorSpace_d:

Public Methods

int Test( int display = 0, double tol = 100 )

Inherited from HCL_Base:

Public Methods

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

Private Fields

int ReferenceCount

Documentation

HCL_PartitionedRnSpace_d represents a product vector space, in which each factor is an instance of HCL_RnSpace_d. The corresponding vector class, HCL_PartitionedRnVector_d, implements the product vector as a "long vector"; that is, the components are stored in a single array.

See HCL_RnSpace_d and HCL_ProductSpace_d for more details.

HCL_PartitionedRnSpace_d(const HCL_PartitionedRnSpace_d & x)
Copy constructor.

HCL_PartitionedRnSpace_d( int m, int n )
This constructor creates a space of n identical factors, each of dimension m

HCL_PartitionedRnSpace_d( int n )
This constructor creates a space of n factors. The dimension of each factor must be specified with the SetNext method.

virtual void* GetType()
Get type of vector space for comparison. GetType makes it possible to check that two vector spaces are of the same derived class before comparing them. GetType just returns the address of the static member Type, cast to void*. This is a primitive form of Run Time Type Information.

virtual HCL_Vector_d* Member()
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. Member is used to create temporary vectors "abstractly", i.e. without knowing the exact type of the vector desired.

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

virtual int Number()
Number returns the number of factors in the product.

virtual HCL_VectorSpace_d& operator)( int i )
The () operator returns a reference to the ith factor in the product.

void SetNext( int m )
SetNext is used to specify the dimension of the factors in the product. (Note that if all of the factors have the same dimension, then a special constructor can be used, in which case SetNext need not be called.)

void SetNext( HCL_RnSpace_d * s )
SetNext is used to specify the next factor in the product. (Note that if all of the factors have the same dimension, then a special constructor can be used, in which case SetNext need not be called.)


This class has no child classes.

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