C-XSC - A C++ Class Library for Extended Scientific Computing
2.5.4
|
The Data Type cvector. More...
#include <cvector.hpp>
Public Member Functions | |
cvector () throw () | |
Constructor of class cvector. | |
cvector (const int &i) throw () | |
Constructor of class cvector. | |
cvector (const int &i1, const int &i2) throw () | |
Constructor of class cvector. | |
cvector (const cmatrix_subv &) throw () | |
Constructor of class cvector. | |
cvector (const complex &r) throw () | |
Constructor of class cvector. | |
cvector (const cmatrix &) throw () | |
Constructor of class cvector. | |
cvector (const cmatrix_slice &sl) throw () | |
Constructor of class cvector. | |
cvector (const cvector_slice &rs) throw () | |
Constructor of class cvector. | |
cvector (const cvector &v) throw () | |
Constructor of class cvector. | |
cvector (const scvector_slice &rs) | |
Constructor of class cvector. | |
cvector (const scvector &v) | |
Constructor of class cvector. | |
cvector (const srvector_slice &rs) | |
Constructor of class cvector. | |
cvector (const srvector &v) | |
Constructor of class cvector. | |
cvector (const real &) throw () | |
Constructor of class cvector. | |
cvector (const rvector_slice &rs) throw () | |
Constructor of class cvector. | |
cvector (const rvector &v) throw () | |
Constructor of class cvector. | |
cvector (const rmatrix &) throw () | |
Constructor of class cvector. | |
cvector (const rmatrix_slice &sl) throw () | |
Constructor of class cvector. | |
cvector (const rmatrix_subv &) throw () | |
Constructor of class cvector. | |
cvector | operator() (const intvector &p) |
Computes permutation of vector according to permutation vector, C=Px. | |
cvector | operator() (const intmatrix &P) |
Computes permutation of vector according to permutation matrix, C=Px. | |
cvector & | operator() () throw () |
Operator for accessing the whole vector. | |
cvector_slice | operator() (const int &i) throw () |
Operator for accessing a part of the vector. | |
cvector_slice | operator() (const int &i1, const int &i2) throw () |
Operator for accessing a part of the vector. | |
cvector & | operator= (const cvector &rv) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const cvector_slice &sl) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const scvector &rv) |
Implementation of standard assigning operator. | |
cvector & | operator= (const scvector_slice &sl) |
Implementation of standard assigning operator. | |
cvector & | operator= (const complex &r) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const cmatrix &m) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const cmatrix_slice &) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const cmatrix_subv &) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const rvector &rv) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const rvector_slice &sl) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const srvector &rv) |
Implementation of standard assigning operator. | |
cvector & | operator= (const srvector_slice &sl) |
Implementation of standard assigning operator. | |
cvector & | operator= (const real &r) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const rmatrix &m) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const rmatrix_slice &) throw () |
Implementation of standard assigning operator. | |
cvector & | operator= (const rmatrix_subv &) throw () |
Implementation of standard assigning operator. | |
complex & | operator[] (const int &i) const throw () |
Operator for accessing the single elements of the vector (read-only) | |
complex & | operator[] (const int &i) throw () |
Operator for accessing the single elements of the vector. | |
Friends | |
int | Lb (const cvector &rv) throw () |
Returns the lower bound of the vector. | |
cvector & | SetLb (cvector &rv, const int &l) throw () |
Sets the lower bound of the vector. | |
cvector & | SetUb (cvector &rv, const int &u) throw () |
Sets the upper bound of the vector. | |
int | Ub (const cvector &rv) throw () |
Returns the upper bound of the vector. | |
int | VecLen (const cvector &rv) throw () |
Returns the dimension of the vector. |
The Data Type cvector.
The vectors of C-XSC are one dimensional arrays of the corresponding scalar base type.
Definition at line 57 of file cvector.hpp.
INLINE cvector_slice cxsc::cvector::operator() | ( | const int & | i | ) | throw () [inline] |
Operator for accessing a part of the vector.
i | The maximum dimension of the wanted part of the vector |
Definition at line 159 of file cvector.inl.
INLINE cvector_slice cxsc::cvector::operator() | ( | const int & | i1, |
const int & | i2 | ||
) | throw () |
Operator for accessing a part of the vector.
i1 | The starting dimension of the wanted part of the vector |
i2 | The ending dimension of the wanted part of the vector |
Definition at line 179 of file cvector.inl.