Loading...
Searching...
No Matches
UpdateVector< R > Class Template Reference Dense Vector with semi-sparse Vector for updates. More...
Inheritance diagram for UpdateVector< R >:
![]()
Detailed Descriptiontemplate<class R> class soplex::UpdateVector< R > Dense Vector with semi-sparse Vector for updates. In many algorithms vectors are updated in every iteration, by adding a multiple of another VectorBase<R> to it, i.e., given a VectorBase<R> While the update itself can easily be expressed with methods of the class VectorBase<R>, it is often desirable to save the last update VectorBase<R> \(\delta\) and value \(\alpha\). This is provided by class UpdateVector<R>. UpdateVectors are derived from VectorBase<R> and provide additional methods for saving and setting the multiplicator \(\alpha\) and the update Vector \(\delta\). Further, it allows for efficient sparse updates, by providing an IdxSet idx() containing the nonzero indices of \(\delta\). Definition at line 62 of file updatevector.h. Constructor & Destructor Documentation◆ UpdateVector() [1/2]
template<class R >
default constructor. Definition at line 80 of file updatevector.h. References UpdateVector< R >::isConsistent(). ◆ ~UpdateVector()
template<class R >
Definition at line 88 of file updatevector.h. ◆ UpdateVector() [2/2]
template<class R >
copy constructor Member Function Documentation◆ clear()
template<class R >
clear VectorBase<R> and update vector Definition at line 153 of file updatevector.h. References VectorBase< R >::clear(), and UpdateVector< R >::clearUpdate(). ◆ clearUpdate()
template<class R >
clear \(\delta\), \(\alpha\) Definition at line 160 of file updatevector.h. References UpdateVector< R >::thedelta, and UpdateVector< R >::theval. Referenced by UpdateVector< R >::clear(). ◆ delta() [1/2]
template<class R >
update VectorBase<R> \(\delta\), writeable Definition at line 122 of file updatevector.h. References UpdateVector< R >::thedelta. ◆ delta() [2/2]
template<class R >
update VectorBase<R> \(\delta\) Definition at line 127 of file updatevector.h. References UpdateVector< R >::thedelta. ◆ idx()
template<class R >
nonzero indices of update VectorBase<R> \(\delta\) Definition at line 133 of file updatevector.h. References UpdateVector< R >::thedelta. ◆ isConsistent()
template<class R >
Referenced by UpdateVector< R >::operator=(), and UpdateVector< R >::UpdateVector(). ◆ operator=() [1/2]
template<class R >
assignment ◆ operator=() [2/2]
template<class R >
assignment from VectorBase<R> Definition at line 93 of file updatevector.h. References UpdateVector< R >::isConsistent(), and VectorBase< R >::operator=(). ◆ reDim()
template<class R >
reset dimension Definition at line 167 of file updatevector.h. References VectorBase< R >::reDim(), and UpdateVector< R >::thedelta. ◆ setTolerances()
template<class R >
set tolerances Definition at line 174 of file updatevector.h. References UpdateVector< R >::thedelta. Referenced by SPxSolverBase< R >::setTolerances(). ◆ update()
template<class R >
Perform the update. Add Definition at line 147 of file updatevector.h. References VectorBase< R >::multAdd(), and UpdateVector< R >::thedelta. ◆ value() [1/2]
template<class R >
update multiplicator \(\alpha\), writeable Definition at line 111 of file updatevector.h. References UpdateVector< R >::theval. ◆ value() [2/2]
template<class R >
update multiplicator \(\alpha\) Definition at line 116 of file updatevector.h. References UpdateVector< R >::theval. Member Data Documentation◆ thedelta
template<class R >
update vector Definition at line 70 of file updatevector.h. Referenced by UpdateVector< R >::clearUpdate(), UpdateVector< R >::delta(), UpdateVector< R >::delta(), UpdateVector< R >::idx(), UpdateVector< R >::reDim(), UpdateVector< R >::setTolerances(), and UpdateVector< R >::update(). ◆ theval
template<class R >
update multiplicator Definition at line 69 of file updatevector.h. Referenced by UpdateVector< R >::clearUpdate(), UpdateVector< R >::value(), and UpdateVector< R >::value().
|