20 #ifndef _UPDATEVECTOR_H_ 21 #define _UPDATEVECTOR_H_ 140 this->
multAdd(theval, thedelta);
161 thedelta.
reDim(newdim);
177 #include "soplex/updatevector.hpp" 179 #endif // _UPDATEVECTOR_H_ void clearUpdate()
clear ,
VectorBase< R > & operator=(const VectorBase< S > &vec)
Assignment operator.
Dense vector.Class VectorBase provides dense linear algebra vectors. Internally, VectorBase wraps std...
void clear()
clear VectorBase<R> and update vector
R value() const
update multiplicator
void reDim(int newdim)
reset dimension
Semi sparse vector.This class implements semi-sparse vectors. Such are VectorBases where the indices ...
SSVectorBase< R > & delta()
update VectorBase<R> , writeable
R & value()
update multiplicator , writeable
void update()
Perform the update.
const IdxSet & indices() const
Returns indices.
void clear()
Clears vector.
Dense Vector with semi-sparse Vector for updatesIn many algorithms vectors are updated in every itera...
void reDim(int newdim)
Resets dimension to newdim.
Debugging, floating point type and parameter definitions.
VectorBase< R > & multAdd(const S &x, const VectorBase< T > &vec)
Addition of scaled vector.
Everything should be within this namespace.
const IdxSet & idx() const
nonzero indices of update VectorBase<R>
const SSVectorBase< R > & delta() const
update VectorBase<R>
void reDim(int newdim, const bool setZero=true)
Resets VectorBase's dimension to newdim.
void clear()
Set vector to contain all-zeros (keeping the same length)
bool isConsistent() const
R theval
update multiplicator
SSVectorBase< R > thedelta
update vector
UpdateVector< R > & operator=(const VectorBase< R > &rhs)
assignment from VectorBase<R>
Set of indices.Class IdxSet provides a set of indices. At construction it must be given an array of i...