C-XSC - A C++ Class Library for Extended Scientific Computing
2.5.4
|
The Data Type intvector. More...
#include <intvector.hpp>
Public Member Functions | |
intvector () throw () | |
Constructor of class intvector. | |
intvector (const int &i1, const int &i2) throw () | |
Constructor of class intvector. | |
intvector (const intmatrix_subv &) throw () | |
Constructor of class intvector. | |
intvector (const int &) throw () | |
Constructor of class intvector. | |
intvector (const intmatrix &) throw () | |
Constructor of class intvector. | |
intvector (const intmatrix_slice &sl) throw () | |
Constructor of class intvector. | |
intvector (const intvector_slice &rs) throw () | |
Constructor of class intvector. | |
intvector (const intvector &v) throw () | |
Constructor of class intvector. | |
intvector & | operator() () throw () |
Operator for accessing the whole vector. | |
intvector_slice | operator() (const int &i) throw () |
Operator for accessing a part of the vector. More... | |
intvector_slice | operator() (const int &i1, const int &i2) throw () |
Operator for accessing a part of the vector. More... | |
intvector & | operator= (const intvector &rv) throw () |
Implementation of standard assigning operator. | |
intvector & | operator= (const intvector_slice &sl) throw () |
Implementation of standard assigning operator. | |
intvector & | operator= (const int &r) throw () |
Implementation of standard assigning operator. | |
intvector & | operator= (const intmatrix &) throw () |
Implementation of standard assigning operator. | |
intvector & | operator= (const intmatrix_slice &) throw () |
Implementation of standard assigning operator. | |
intvector & | operator= (const intmatrix_subv &) throw () |
Implementation of standard assigning operator. | |
int & | operator[] (const int &i) throw () |
Operator for accessing the single elements of the vector. | |
const int & | operator[] (const int &i) const throw () |
Operator for accessing the single elements of the vector. | |
Friends | |
int | Lb (const intvector &rv) throw () |
Returns the lower bound of the vector. | |
intvector & | SetLb (intvector &rv, const int &l) throw () |
Sets the lower bound of the vector. | |
intvector & | SetUb (intvector &rv, const int &u) throw () |
Sets the upper bound of the vector. | |
int | Ub (const intvector &rv) throw () |
Returns the upper bound of the vector. | |
int | VecLen (const intvector &rv) throw () |
Returns the dimension of the vector. | |
The Data Type intvector.
The vectors of C-XSC are one dimensional arrays of the corresponding scalar base type.
Definition at line 51 of file intvector.hpp.
|
inline |
Operator for accessing a part of the vector.
i | The maximum dimension of the wanted part of the vector |
Definition at line 134 of file intvector.inl.
|
inline |
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 154 of file intvector.inl.