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>

Collaboration diagram for cxsc::lx_ivector:
Collaboration graph

Public Member Functions

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

Friends

int Lb (const lx_ivector &a) noexcept
 Returns the lower bound of the vector.
 
void Resize (lx_ivector &rv, int lb, int ub)
 Resizes the vector.
 
void Resize (lx_ivector &rv, int len)
 Resizes the vector.
 
lx_ivectorSetLb (lx_ivector &a, int l) noexcept
 Sets the lower bound of the vector.
 
lx_ivectorSetUb (lx_ivector &a, int u) noexcept
 Sets the upper bound of the vector.
 
int Ub (const lx_ivector &a) noexcept
 Returns the upper bound of the vector.
 
int VecLen (const lx_ivector &a) noexcept
 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

◆ lx_ivector() [1/3]

cxsc::lx_ivector::lx_ivector ( )
inlinenoexcept

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.

◆ lx_ivector() [2/3]

cxsc::lx_ivector::lx_ivector ( int i)
inlineexplicitnoexcept
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.

◆ lx_ivector() [3/3]

cxsc::lx_ivector::lx_ivector ( int i1,
int i2 )
inlineexplicitnoexcept

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: