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

The Multiple-Precision Data Type lx_ivector. More...

#include <lx_ivector.hpp>

List of all members.

Public Member Functions

 lx_ivector () throw ()
 Constructor of class lx_ivector.
 lx_ivector (int i) throw ()
 lx_ivector (int i1, int i2) throw ()
 Constructor of class lx_ivector.
 lx_ivector (const lx_interval &) throw ()
 Constructor of class lx_ivector.
 lx_ivector (const l_interval &) throw ()
 Constructor of class lx_ivector.
 lx_ivector (const interval &) throw ()
 Constructor of class lx_ivector.
 lx_ivector (const lx_real &) throw ()
 Constructor of class lx_ivector.
 lx_ivector (const l_real &) throw ()
 Constructor of class lx_ivector.
 lx_ivector (const real &) throw ()
 Constructor of class lx_ivector.
 lx_ivector (const lx_ivector &) throw ()
 Constructor of class lx_ivector.
lx_ivectoroperator= (const lx_ivector &) throw ()
 Implementation of standard assigning operator.
lx_ivectoroperator= (const lx_interval &) throw ()
 Implementation of standard assigning operator.
lx_ivectoroperator= (const l_interval &) throw ()
 Implementation of standard assigning operator.
lx_ivectoroperator= (const interval &) throw ()
 Implementation of standard assigning operator.
lx_ivectoroperator= (const lx_real &) throw ()
 Implementation of standard assigning operator.
lx_ivectoroperator= (const l_real &) throw ()
 Implementation of standard assigning operator.
lx_ivectoroperator= (const real &) throw ()
 Implementation of standard assigning operator.
lx_interval & operator[] (const int &i) throw ()
 Operator for accessing the single elements of the vector.
const lx_interval & operator[] (const int &i) const throw ()
 Operator for accessing the single elements of the vector.

Friends

int Lb (const lx_ivector &a) throw ()
 Returns the lower bound of the vector.
void Resize (lx_ivector &rv, int lb, int ub) throw ()
 Resizes the vector.
void Resize (lx_ivector &rv, int len) throw ()
 Resizes the vector.
lx_ivectorSetLb (lx_ivector &a, int l) throw ()
 Sets the lower bound of the vector.
lx_ivectorSetUb (lx_ivector &a, int u) throw ()
 Sets the upper bound of the vector.
int Ub (const lx_ivector &a) throw ()
 Returns the upper bound of the vector.
int VecLen (const lx_ivector &a) throw ()
 Returns the dimension of the vector.

Detailed Description

The Multiple-Precision Data Type lx_ivector.

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

See also:
lx_ivector

Definition at line 42 of file lx_ivector.hpp.


Constructor & Destructor Documentation

cxsc::lx_ivector::lx_ivector ( ) throw () [inline]

Constructor of class lx_ivector.

Creation of a variable of type lx_ivector with length $ n = 1 $ and index bounds $ lb = ub = 1 $. The value of the element is undefined.

Definition at line 31 of file lx_ivector.inl.

cxsc::lx_ivector::lx_ivector ( int  i) throw () [inline, explicit]
Parameters:
iDimension of vector Creation of a variable of type lx_ivector with length $ n = i $ and index bounds $ lb = 1 $, and $ ub = i $. The values of the elements are undefined.

Definition at line 39 of file lx_ivector.inl.

cxsc::lx_ivector::lx_ivector ( int  i1,
int  i2 
) throw () [inline, explicit]

Constructor of class lx_ivector.

Parameters:
i1Starting dimension of vector
i2Ending dimension of vector

Creation of a variable of type lx_ivector with length $ n = i2 - i1 + 1 $ and index bounds $ lb = i1 $, and $ ub = i2 $. The values of the elements are undefined.

Definition at line 50 of file lx_ivector.inl.


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