29#ifndef _UPDATEVECTOR_H_
30#define _UPDATEVECTOR_H_
80 UpdateVector(
int p_dim , std::shared_ptr<Tolerances> tols =
nullptr)
192#include "soplex/updatevector.hpp"
Dense Vector with semi-sparse Vector for updates.
R theval
update multiplicator
UpdateVector(const UpdateVector< R > &)
copy constructor
const IdxSet & idx() const
nonzero indices of update VectorBase<R>
bool isConsistent() const
SSVectorBase< R > thedelta
update vector
SSVectorBase< R > & delta()
update VectorBase<R> , writeable
UpdateVector(int p_dim, std::shared_ptr< Tolerances > tols=nullptr)
default constructor.
UpdateVector< R > & operator=(const VectorBase< R > &rhs)
assignment from VectorBase<R>
R value() const
update multiplicator
void setTolerances(std::shared_ptr< Tolerances > &tolerances)
set tolerances
void update()
Perform the update.
void clear()
clear VectorBase<R> and update vector
void reDim(int newdim)
reset dimension
const SSVectorBase< R > & delta() const
update VectorBase<R>
UpdateVector< R > & operator=(const UpdateVector< R > &rhs)
assignment
R & value()
update multiplicator , writeable
void clearUpdate()
clear ,
VectorBase< R > & operator=(const VectorBase< S > &vec)
Assignment operator.
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)
VectorBase< R > & multAdd(const S &x, const VectorBase< T > &vec)
Addition of scaled vector.
Everything should be within this namespace.
Debugging, floating point type and parameter definitions.