26 #ifndef _CXSC_LX_CIVECTOR_HPP_INCLUDED
27 #define _CXSC_LX_CIVECTOR_HPP_INCLUDED
29 #include <xscclass.hpp>
32 #include "lx_cinterval.hpp"
72 explicit inline lx_civector(
const lx_cinterval &) noexcept;
78 explicit inline lx_civector(
const lx_complex &) noexcept;
85 explicit inline lx_civector(
const lx_interval &) noexcept;
91 explicit inline lx_civector(
const lx_real &) noexcept;
136 #if(CXSC_INDEX_CHECK)
142 inline const lx_cinterval &
operator [](
const int &i)
const
143 #if(CXSC_INDEX_CHECK)
159 { a.l=l; a.u=l+a.size-1;
return a; }
162 { a.u=u; a.l=u-a.size+1;
return a; }
166 #if(CXSC_INDEX_CHECK)
174 #if(CXSC_INDEX_CHECK)
183 inline void DoubleSize(lx_civector&) noexcept;
185 inline void Resize(lx_civector &rv,
int lb,
int ub)
186 #if(CXSC_INDEX_CHECK)
192 inline void Resize(lx_civector &rv,
int len)
193 #if(CXSC_INDEX_CHECK)
202 #include "lx_civector.inl"
The Scalar Type cinterval.
The Scalar Type interval.
The Multiple-Precision Data Type l_cinterval.
The Multiple-Precision Data Type l_complex.
The Multiple-Precision Data Type l_interval.
The Multiple-Precision Data Type l_real.
The Multiple-Precision Data Type lx_civector.
friend void Resize(lx_civector &rv, int lb, int ub) noexcept
Resizes the vector.
lx_civector & operator=(const lx_civector &) noexcept
Implementation of standard assigning operator.
lx_cinterval & operator[](const int &i) noexcept
Operator for accessing the single elements of the vector.
friend lx_civector & SetUb(lx_civector &a, int u) noexcept
Sets the upper bound of the vector.
friend lx_civector & SetLb(lx_civector &a, int l) noexcept
Sets the lower bound of the vector.
friend int Ub(const lx_civector &a) noexcept
Returns the upper bound of the vector.
friend int Lb(const lx_civector &a) noexcept
Returns the lower bound of the vector.
friend int VecLen(const lx_civector &a) noexcept
Returns the dimension of the vector.
lx_civector() noexcept
Constructor of class lx_civector.
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.