cxsc::cvector Class Reference

The Data Type cvector. More...

#include <cvector.hpp>

Collaboration diagram for cxsc::cvector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Friends

class cimatrix
class civector
class cmatrix
class cmatrix_subv
class cvector_slice
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 &  i1,
const int &  i2
throw ()
 

Operator for accessing a part of the vector.

Parameters:
i1 The starting dimension of the wanted part of the vector
i2 The 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.

INLINE cvector_slice cxsc::cvector::operator() const int &  i  )  throw () [inline]
 

Operator for accessing a part of the vector.

Parameters:
i The 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.


The documentation for this class was generated from the following files:
Generated on Thu Jun 9 11:22:34 2011 for C-XSC - A C++ Class Library for Extended Scientific Computing by  doxygen 1.4.6