C-XSC - A C++ Class Library for Extended Scientific Computing  2.5.4
cxsc::intvector Class Reference

The Data Type intvector. More...

#include <intvector.hpp>

List of all members.

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.
intvectoroperator() () throw ()
 Operator for accessing the whole vector.
intvector_slice operator() (const int &i) throw ()
 Operator for accessing a part of the vector.
intvector_slice operator() (const int &i1, const int &i2) throw ()
 Operator for accessing a part of the vector.
intvectoroperator= (const intvector &rv) throw ()
 Implementation of standard assigning operator.
intvectoroperator= (const intvector_slice &sl) throw ()
 Implementation of standard assigning operator.
intvectoroperator= (const int &r) throw ()
 Implementation of standard assigning operator.
intvectoroperator= (const intmatrix &) throw ()
 Implementation of standard assigning operator.
intvectoroperator= (const intmatrix_slice &) throw ()
 Implementation of standard assigning operator.
intvectoroperator= (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.
intvectorSetLb (intvector &rv, const int &l) throw ()
 Sets the lower bound of the vector.
intvectorSetUb (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.

Detailed Description

The Data Type intvector.

The vectors of C-XSC are one dimensional arrays of the corresponding scalar base type.

See also:
rvector

Definition at line 51 of file intvector.hpp.


Member Function Documentation

intvector_slice cxsc::intvector::operator() ( const int &  i) throw () [inline]

Operator for accessing a part of the vector.

Parameters:
iThe maximum dimension of the wanted part of the vector
Returns:
The wanted part of the vector
See also:
rvector::operator ()(const int &i)

Definition at line 134 of file intvector.inl.

intvector_slice cxsc::intvector::operator() ( const int &  i1,
const int &  i2 
) throw () [inline]

Operator for accessing a part of the vector.

Parameters:
i1The starting dimension of the wanted part of the vector
i2The ending dimension of the wanted part of the vector
Returns:
The wanted part of the vector
See also:
rvector::operator ()(const int &i1,const int &i2)

Definition at line 154 of file intvector.inl.


The documentation for this class was generated from the following files: