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 () noexcept
 Constructor of class ivector.
 
 ivector (const imatrix &) noexcept
 Constructor of class ivector.
 
 ivector (const imatrix_slice &sl) noexcept
 Constructor of class ivector.
 
 ivector (const imatrix_subv &) noexcept
 Constructor of class ivector.
 
 ivector (const int &i) noexcept
 Constructor of class ivector.
 
 ivector (const int &i1, const int &i2) noexcept
 Constructor of class ivector.
 
 ivector (const interval &) noexcept
 Constructor of class ivector.
 
 ivector (const ivector &v) noexcept
 Constructor of class ivector.
 
 ivector (const ivector_slice &rs) noexcept
 Constructor of class ivector.
 
 ivector (const real &) noexcept
 Constructor of class ivector.
 
 ivector (const rmatrix &) noexcept
 Constructor of class ivector.
 
 ivector (const rmatrix_slice &sl) noexcept
 Constructor of class ivector.
 
 ivector (const rmatrix_subv &) noexcept
 Constructor of class ivector.
 
 ivector (const rvector &v) noexcept
 Constructor of class ivector.
 
 ivector (const rvector_slice &rs) noexcept
 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() () noexcept
 Operator for accessing the whole vector.
 
ivector_slice operator() (const int &i) noexcept
 Operator for accessing a part of the vector.
 
ivector_slice operator() (const int &i1, const int &i2) noexcept
 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) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const imatrix_slice &) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const imatrix_subv &) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const interval &r) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const ivector &rv) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const ivector_slice &sl) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const real &r) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const rmatrix &m) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const rmatrix_slice &) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const rmatrix_subv &) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const rvector &rv) noexcept
 Implementation of standard assigning operator.
 
ivectoroperator= (const rvector_slice &sl) noexcept
 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) const noexcept
 Operator for accessing the single elements of the vector (read-only)
 
intervaloperator[] (const int &i) noexcept
 Operator for accessing the single elements of the vector.
 
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) noexcept
 Returns the lower bound of the vector.
 
ivectorSetLb (ivector &rv, const int &l) noexcept
 Sets the lower bound of the vector.
 
ivectorSetUb (ivector &rv, const int &u) noexcept
 Sets the upper bound of the vector.
 
int Ub (const ivector &rv) noexcept
 Returns the upper bound of the vector.
 
int VecLen (const ivector &rv) noexcept
 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: