26#ifndef _CXSC_LX_IVECTOR_HPP_INCLUDED
27#define _CXSC_LX_IVECTOR_HPP_INCLUDED
30#include "lx_interval.hpp"
69 explicit inline lx_ivector(
const lx_interval &)
noexcept;
75 explicit inline lx_ivector(
const lx_real &)
noexcept;
112 inline const lx_interval &
operator [](
const int &i)
const
129{ a.l=l; a.u=l+a.size-1;
return a; }
132{ a.u=u; a.l=u-a.size+1;
return a; }
155inline void Resize(lx_ivector &rv,
int lb,
int ub)
162 inline void Resize(lx_ivector &rv,
int len)
172#include "lx_ivector.inl"
The Scalar Type interval.
The Multiple-Precision Data Type l_interval.
The Multiple-Precision Data Type l_real.
The Multiple-Precision Data Type lx_ivector.
lx_ivector & operator=(const lx_ivector &) noexcept
Implementation of standard assigning operator.
friend int Lb(const lx_ivector &a) noexcept
Returns the lower bound of the vector.
friend int VecLen(const lx_ivector &a) noexcept
Returns the dimension of the vector.
friend int Ub(const lx_ivector &a) noexcept
Returns the upper bound of the vector.
lx_interval & operator[](const int &i) noexcept
Operator for accessing the single elements of the vector.
friend lx_ivector & SetLb(lx_ivector &a, int l) noexcept
Sets the lower bound of the vector.
lx_ivector() noexcept
Constructor of class lx_ivector.
friend void Resize(lx_ivector &rv, int lb, int ub) noexcept
Resizes the vector.
friend lx_ivector & SetUb(lx_ivector &a, int u) noexcept
Sets the upper bound of the vector.
The namespace cxsc, providing all functionality of the class library C-XSC.
void DoubleSize(cimatrix &A)
Doubles the size of the matrix.
void Resize(cimatrix &A) noexcept
Resizes the matrix.