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

The Data Type ivector. More...

#include <ivector.hpp>

Collaboration diagram for cxsc::ivector:
Collaboration graph

Public Member Functions

 ivector () throw ()
 Constructor of class ivector.
 
 ivector (const imatrix &) throw ()
 Constructor of class ivector.
 
 ivector (const imatrix_slice &sl) throw ()
 Constructor of class ivector.
 
 ivector (const imatrix_subv &) throw ()
 Constructor of class ivector.
 
 ivector (const int &i) throw ()
 Constructor of class ivector.
 
 ivector (const int &i1, const int &i2) throw ()
 Constructor of class ivector.
 
 ivector (const interval &) throw ()
 Constructor of class ivector.
 
 ivector (const ivector &v) throw ()
 Constructor of class ivector.
 
 ivector (const ivector_slice &rs) throw ()
 Constructor of class ivector.
 
 ivector (const real &) throw ()
 Constructor of class ivector.
 
 ivector (const rmatrix &) throw ()
 Constructor of class ivector.
 
 ivector (const rmatrix_slice &sl) throw ()
 Constructor of class ivector.
 
 ivector (const rmatrix_subv &) throw ()
 Constructor of class ivector.
 
 ivector (const rvector &v) throw ()
 Constructor of class ivector.
 
 ivector (const rvector_slice &rs) throw ()
 Constructor of class ivector.
 
 ivector (const sivector &rs)
 Constructor of class ivector.
 
 ivector (const sivector_slice &rs)
 Constructor of class ivector.
 
 ivector (const srvector &rs)
 Constructor of class ivector.
 
 ivector (const srvector_slice &rs)
 Constructor of class ivector.
 
ivectoroperator&= (const sivector &)
 Implementation of assignment and intersection operator

 
ivectoroperator&= (const sivector_slice &)
 Implementation of assignment and intersection operator

 
ivectoroperator() () throw ()
 Operator for accessing the whole vector.
 
ivector_slice operator() (const int &i) throw ()
 Operator for accessing a part of the vector.
 
ivector_slice operator() (const int &i1, const int &i2) throw ()
 Operator for accessing a part of the vector.
 
ivector operator() (const intmatrix &P)
 Computes permutation of vector according to permutation matrix, C=Px.
 
ivector operator() (const intvector &p)
 Computes permutation of vector according to permutation vector, C=Px.
 
ivectoroperator+= (const sivector &)
 Implementation of assignment and addition operator

 
ivectoroperator+= (const sivector_slice &)
 Implementation of assignment and addition operator

 
ivectoroperator+= (const srvector &)
 Implementation of assignment and addition operator

 
ivectoroperator+= (const srvector_slice &)
 Implementation of assignment and addition operator

 
ivectoroperator-= (const sivector &)
 Implementation of assignment and substraction operator

 
ivectoroperator-= (const sivector_slice &)
 Implementation of assignment and substraction operator

 
ivectoroperator-= (const srvector &)
 Implementation of assignment and substraction operator

 
ivectoroperator-= (const srvector_slice &)
 Implementation of assignment and substraction operator

 
ivectoroperator= (const imatrix &m) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const imatrix_slice &) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const imatrix_subv &) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const interval &r) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const ivector &rv) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const ivector_slice &sl) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const real &r) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const rmatrix &m) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const rmatrix_slice &) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const rmatrix_subv &) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const rvector &rv) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const rvector_slice &sl) throw ()
 Implementation of standard assigning operator.
 
ivectoroperator= (const sivector &rv)
 Implementation of standard assigning operator.
 
ivectoroperator= (const sivector_slice &sl)
 Implementation of standard assigning operator.
 
ivectoroperator= (const srvector &rv)
 Implementation of standard assigning operator.
 
ivectoroperator= (const srvector_slice &sl)
 Implementation of standard assigning operator.
 
intervaloperator[] (const int &i) throw ()
 Operator for accessing the single elements of the vector.
 
intervaloperator[] (const int &i) const throw ()
 Operator for accessing the single elements of the vector (read-only)
 
ivectoroperator|= (const sivector &)
 Implementation of assignment and hull operator

 
ivectoroperator|= (const sivector_slice &)
 Implementation of assignment and hull operator

 
ivectoroperator|= (const srvector &)
 Implementation of assignment and hull operator

 
ivectoroperator|= (const srvector_slice &)
 Implementation of assignment and hull operator

 

Friends

int Lb (const ivector &rv) throw ()
 Returns the lower bound of the vector.
 
ivectorSetLb (ivector &rv, const int &l) throw ()
 Sets the lower bound of the vector.
 
ivectorSetUb (ivector &rv, const int &u) throw ()
 Sets the upper bound of the vector.
 
int Ub (const ivector &rv) throw ()
 Returns the upper bound of the vector.
 
int VecLen (const ivector &rv) throw ()
 Returns the dimension of the vector.
 

Detailed Description

The Data Type ivector.

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

See also
rvector

Definition at line 54 of file ivector.hpp.


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