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 () noexcept | |
Constructor of class intvector. | |
intvector (const int &) noexcept | |
Constructor of class intvector. | |
intvector (const int &i1, const int &i2) noexcept | |
Constructor of class intvector. | |
intvector (const intmatrix &) noexcept | |
Constructor of class intvector. | |
intvector (const intmatrix_slice &sl) noexcept | |
Constructor of class intvector. | |
intvector (const intmatrix_subv &) noexcept | |
Constructor of class intvector. | |
intvector (const intvector &v) noexcept | |
Constructor of class intvector. | |
intvector (const intvector_slice &rs) noexcept | |
Constructor of class intvector. | |
intvector & | operator() () noexcept |
Operator for accessing the whole vector. | |
intvector_slice | operator() (const int &i) noexcept |
Operator for accessing a part of the vector. | |
intvector_slice | operator() (const int &i1, const int &i2) noexcept |
Operator for accessing a part of the vector. | |
intvector & | operator= (const int &r) noexcept |
Implementation of standard assigning operator. | |
intvector & | operator= (const intmatrix &) noexcept |
Implementation of standard assigning operator. | |
intvector & | operator= (const intmatrix_slice &) noexcept |
Implementation of standard assigning operator. | |
intvector & | operator= (const intmatrix_subv &) noexcept |
Implementation of standard assigning operator. | |
intvector & | operator= (const intvector &rv) noexcept |
Implementation of standard assigning operator. | |
intvector & | operator= (const intvector_slice &sl) noexcept |
Implementation of standard assigning operator. | |
const int & | operator[] (const int &i) const noexcept |
Operator for accessing the single elements of the vector. | |
int & | operator[] (const int &i) noexcept |
Operator for accessing the single elements of the vector. | |
Friends | |
int | Lb (const intvector &rv) noexcept |
Returns the lower bound of the vector. | |
intvector & | SetLb (intvector &rv, const int &l) noexcept |
Sets the lower bound of the vector. | |
intvector & | SetUb (intvector &rv, const int &u) noexcept |
Sets the upper bound of the vector. | |
int | Ub (const intvector &rv) noexcept |
Returns the upper bound of the vector. | |
int | VecLen (const intvector &rv) noexcept |
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.
|
inlinenoexcept |
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.
|
inlinenoexcept |
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.