|
| VectorClass () |
| The constructor of VectorClass. More...
|
|
| VectorClass (const VectorClass< T > &vec) |
| The copy constructor of VectorClass. More...
|
|
| VectorClass (VectorClass< T > &&vec) |
| The move constructor of VectorClass. More...
|
|
virtual int | Clear () |
| Free the current vector. More...
|
|
virtual | ~VectorClass () |
| The destructor of VectorClass. More...
|
|
virtual T & | operator[] (int i)=0 |
| Get the reference of an index in the vector. More...
|
|
virtual T * | GetData () const =0 |
| Get the data pointer of the vector. More...
|
|
virtual int | GetDataLocation () const =0 |
| Get the data location of the vector. More...
|
|
virtual int | GetLengthLocal () const =0 |
| Get the local length of the vector. More...
|
|
virtual long int | GetLengthGlobal () const =0 |
| Get the global length of the vector. More...
|
|
virtual long int | GetStartGlobal () const =0 |
| Get the global start index of the vector. More...
|
|
virtual int | Fill (const T &v)=0 |
| Fill the vector with constant value. More...
|
|
virtual int | Rand ()=0 |
| Fill the vector with random value. More...
|
|
virtual int | Scale (const T &alpha)=0 |
| Scale the vector by x = alpha*x, where x is this vector. More...
|
|
virtual int | Axpy (const T &alpha, const VectorClass< T > &x)=0 |
| Compute y = alpha * x + y, where y is this vector. Currenlty we don't support x == y. More...
|
|
virtual int | Axpy (const T &alpha, const VectorClass< T > &x, VectorClass< T > &y)=0 |
| Compute z = alpha * x + y, where z is this vector. Currenlty we don't support x == y, x == z or y == z. More...
|
|
virtual int | Axpy (const T &alpha, const VectorClass< T > &x, const T &beta, VectorClass< T > &y)=0 |
| Compute z = alpha * x + beta * y, where z is this vector. Currenlty we don't support x == y, x == z or y == z. More...
|
|
virtual int | Norm2 (float &norm) const =0 |
| Compute the 2-norm of a vector, result is type float. More...
|
|
virtual int | Norm2 (double &norm) const =0 |
| Compute the 2-norm of a vector, result is type double. More...
|
|
virtual int | NormInf (float &norm)=0 |
| Compute the inf-norm of a vector, result is type float. More...
|
|
virtual int | NormInf (double &norm)=0 |
| Compute the inf-norm of a vector, result is type double. More...
|
|
virtual int | Dot (const VectorClass< T > &y, T &t) const =0 |
| Compute the dot product. More...
|
|
virtual int | MoveData (const int &location)=0 |
| Move the data to another memory location. More...
|
|
| VectorVirtualClass () |
| The constructor of VectorVirtualClass. More...
|
|
| VectorVirtualClass (const VectorVirtualClass< T > &vec) |
| The copy constructor of VectorVirtualClass. More...
|
|
| VectorVirtualClass (VectorVirtualClass< T > &&vec) |
| The move constructor of VectorVirtualClass. More...
|
|
virtual | ~VectorVirtualClass () |
| The destructor of VectorVirtualClass. More...
|
|
virtual bool | IsParallel () const |
| Tell if this is a prallel vector. More...
|
|
PrecisionEnum | GetPrecision () const |
| Get the data precision of the vector. More...
|
|
template<typename T>
class pargemslr::VectorClass< T >
The virtual class of real/complex vector class.