HCL_PartitionedRnVector_d represents a vector from a product space in which each factor is an instance of HCL_RnSpace_d
![]() | Data () Data returns a pointer to the (long) array of components |
![]() | Dim () Return the dimension of the vector space |
![]() | HCL_PartitionedRnVector_d ( char * fname ) Special constructor; reads the vector from an ASCII file |
![]() | HCL_PartitionedRnVector_d ( HCL_PartitionedRnSpace_d * s ) General constructor; constructs a vector based on an instance of HCL_PartitionedRnVector_d |
![]() | HCL_PartitionedRnVector_d (int m, int n) Special constructor for the case of n identical factors, each with dimension m |
![]() | operator) (int i) The () operator returns a reference to the ith factor |
![]() | Save ( char * fname ) Save stores the vector in an ASCII file, in the following format: The first entry is an integer n, the number of factors |
![]() | Space () Space returns a reference to the underlying vector space. |
Access to components.
Array operations - ``Matlab'' methods.
Vector operations (z is *this, which is C++-ese for the instance
HCL_PartitionedRnVector_d represents a vector from a product space in which each factor is an instance of HCL_RnSpace_d. The product vector is implemented as a "long vector"; that is, the components are stored in a single array. The purpose of the class is to make it convenient to view the vector as a product (and hence convenient to manipulate the factors), but also to enable the use of direct linear algebra techniques on the long vector.See HCL_RnVector_d and HCL_ProductVector_d for more details.
HCL_PartitionedRnVector_d( char * fname )
HCL_PartitionedRnVector_d( HCL_PartitionedRnSpace_d * s )
virtual int Dim()
virtual HCL_Vector_d& operator)(int i)
virtual double* Data()
virtual HCL_VectorSpace_d& Space()
void Save( char * fname )
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de