class HCL_RnSpace_d : public HCL_VectorSpace_d

HCL_RnSpace_d is a vector space class representing the simplest vector space, namely, Euclidean n-space

Inheritance:


Public Methods

HCL_RnSpace_d ( int d )
Usual constructor; creates a space of dimension n.
HCL_RnSpace_d ( const HCL_RnSpace_d & x )
Creates a copy of an existing Rn space.
int Dim () const
Dim returns the dimension of the space.
virtual int operator == ( const HCL_VectorSpace_d & xx ) const
Comparison; returns 1 if the input space is the same as this space; 0 otherwise
virtual int operator != ( const HCL_VectorSpace_d & x ) const
Comparison; returns 1 if the input space differs from this space; 0 otherwise
virtual void* GetType () const
GetType returns the address of the static field Type
HCL_Vector_d* Member () const
Member is a virtual constructor; it creates a new vector that belongs to this vector space
virtual HCL_VectorSpace_d* Replicate () const
Replicate creates a new vector space identical to this space
virtual ostream& Write ( ostream & str ) const
Write prints a description of this class

Inherited from HCL_VectorSpace_d:

Public Methods

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_RnSpace_d is a vector space class representing the simplest vector space, namely, Euclidean n-space. The corresponding vector class is HCL_Rn_d, which stores the components of a vector in a 1D Fortran-style array. The space is defined simply by a positive integer, the dimension of the space.
HCL_RnSpace_d( int d )
Usual constructor; creates a space of dimension n.

HCL_RnSpace_d( const HCL_RnSpace_d & x )
Creates a copy of an existing Rn space.

int Dim() const
Dim returns the dimension of the space.

virtual int operator == ( const HCL_VectorSpace_d & xx ) const
Comparison; returns 1 if the input space is the same as this space; 0 otherwise

virtual int operator != ( const HCL_VectorSpace_d & x ) const
Comparison; returns 1 if the input space differs from this space; 0 otherwise

virtual void* GetType() const
GetType returns the address of the static field Type. This provides a primitive form of runtime type information.

HCL_Vector_d* Member() const
Member is a virtual constructor; it creates a new vector that belongs to this vector space

virtual HCL_VectorSpace_d* Replicate() const
Replicate creates a new vector space identical to this space. This method is a virtual copy constructor for this class.

virtual ostream& Write( ostream & str ) const
Write prints a description of this class


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