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

The Data Type cvector. More...

#include <cvector.hpp>

List of all members.

Public Member Functions

 cvector () throw ()
 Constructor of class cvector.
 cvector (const int &i) throw ()
 Constructor of class cvector.
 cvector (const int &i1, const int &i2) throw ()
 Constructor of class cvector.
 cvector (const cmatrix_subv &) throw ()
 Constructor of class cvector.
 cvector (const complex &r) throw ()
 Constructor of class cvector.
 cvector (const cmatrix &) throw ()
 Constructor of class cvector.
 cvector (const cmatrix_slice &sl) throw ()
 Constructor of class cvector.
 cvector (const cvector_slice &rs) throw ()
 Constructor of class cvector.
 cvector (const cvector &v) throw ()
 Constructor of class cvector.
 cvector (const scvector_slice &rs)
 Constructor of class cvector.
 cvector (const scvector &v)
 Constructor of class cvector.
 cvector (const srvector_slice &rs)
 Constructor of class cvector.
 cvector (const srvector &v)
 Constructor of class cvector.
 cvector (const real &) throw ()
 Constructor of class cvector.
 cvector (const rvector_slice &rs) throw ()
 Constructor of class cvector.
 cvector (const rvector &v) throw ()
 Constructor of class cvector.
 cvector (const rmatrix &) throw ()
 Constructor of class cvector.
 cvector (const rmatrix_slice &sl) throw ()
 Constructor of class cvector.
 cvector (const rmatrix_subv &) throw ()
 Constructor of class cvector.
cvector operator() (const intvector &p)
 Computes permutation of vector according to permutation vector, C=Px.
cvector operator() (const intmatrix &P)
 Computes permutation of vector according to permutation matrix, C=Px.
cvectoroperator() () throw ()
 Operator for accessing the whole vector.
cvector_slice operator() (const int &i) throw ()
 Operator for accessing a part of the vector.
cvector_slice operator() (const int &i1, const int &i2) throw ()
 Operator for accessing a part of the vector.
cvectoroperator= (const cvector &rv) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const cvector_slice &sl) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const scvector &rv)
 Implementation of standard assigning operator.
cvectoroperator= (const scvector_slice &sl)
 Implementation of standard assigning operator.
cvectoroperator= (const complex &r) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const cmatrix &m) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const cmatrix_slice &) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const cmatrix_subv &) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const rvector &rv) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const rvector_slice &sl) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const srvector &rv)
 Implementation of standard assigning operator.
cvectoroperator= (const srvector_slice &sl)
 Implementation of standard assigning operator.
cvectoroperator= (const real &r) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const rmatrix &m) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const rmatrix_slice &) throw ()
 Implementation of standard assigning operator.
cvectoroperator= (const rmatrix_subv &) throw ()
 Implementation of standard assigning operator.
complexoperator[] (const int &i) const throw ()
 Operator for accessing the single elements of the vector (read-only)
complexoperator[] (const int &i) throw ()
 Operator for accessing the single elements of the vector.

Friends

int Lb (const cvector &rv) throw ()
 Returns the lower bound of the vector.
cvectorSetLb (cvector &rv, const int &l) throw ()
 Sets the lower bound of the vector.
cvectorSetUb (cvector &rv, const int &u) throw ()
 Sets the upper bound of the vector.
int Ub (const cvector &rv) throw ()
 Returns the upper bound of the vector.
int VecLen (const cvector &rv) throw ()
 Returns the dimension of the vector.

Detailed Description

The Data Type cvector.

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

See also:
rvector

Definition at line 57 of file cvector.hpp.


Member Function Documentation

INLINE cvector_slice cxsc::cvector::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 159 of file cvector.inl.

INLINE cvector_slice cxsc::cvector::operator() ( const int &  i1,
const int &  i2 
) throw ()

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 179 of file cvector.inl.


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