26 #ifndef _CXSC_LX_CIVECTOR_HPP_INCLUDED 27 #define _CXSC_LX_CIVECTOR_HPP_INCLUDED 29 #include <xscclass.hpp> 32 #include "lx_cinterval.hpp" 66 throw(ERROR_IVECTOR_WRONG_BOUNDARIES,ERROR_IVECTOR_NO_MORE_MEMORY);
72 explicit inline lx_civector(
const lx_cinterval &)
throw();
78 explicit inline lx_civector(
const lx_complex &)
throw();
85 explicit inline lx_civector(
const lx_interval &)
throw();
91 explicit inline lx_civector(
const lx_real &)
throw();
136 #if(CXSC_INDEX_CHECK) 137 throw(ERROR_IVECTOR_ELEMENT_NOT_IN_VEC);
141 inline const lx_cinterval &
operator [](
const int &i)
const 143 #if(CXSC_INDEX_CHECK) 144 throw(ERROR_IVECTOR_ELEMENT_NOT_IN_VEC);
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) 167 throw(ERROR__WRONG_BOUNDARIES<lx_civector>);
174 #if(CXSC_INDEX_CHECK) 175 throw(ERROR__WRONG_BOUNDARIES<lx_civector>);
186 #if(CXSC_INDEX_CHECK) 187 throw(ERROR__WRONG_BOUNDARIES<lx_civector>);
193 #if(CXSC_INDEX_CHECK) 194 throw(ERROR__WRONG_BOUNDARIES<lx_civector>);
202 #include "lx_civector.inl" The Multiple-Precision Data Type l_interval.
friend int VecLen(const lx_civector &a)
Returns the dimension of the vector.
The Multiple-Precision Data Type l_real.
The namespace cxsc, providing all functionality of the class library C-XSC.
The Multiple-Precision Data Type l_cinterval.
The Multiple-Precision Data Type lx_civector.
The Scalar Type interval.
lx_cinterval & operator[](const int &i)
Operator for accessing the single elements of the vector.
void DoubleSize(cimatrix &A)
Doubles the size of the matrix.
lx_civector & operator=(const lx_civector &)
Implementation of standard assigning operator.
friend lx_civector & SetLb(lx_civector &a, int l)
Sets the lower bound of the vector.
The Scalar Type cinterval.
The Multiple-Precision Data Type l_complex.
friend void Resize(lx_civector &rv, int lb, int ub)
Resizes the vector.
friend int Ub(const lx_civector &a)
Returns the upper bound of the vector.
friend lx_civector & SetUb(lx_civector &a, int u)
Sets the upper bound of the vector.
lx_civector()
Constructor of class lx_civector.
friend int Lb(const lx_civector &a)
Returns the lower bound of the vector.