Sparse vector nonzero element. More...
#include <svectorbase.h>
Public Member Functions | |
template<class S > | |
Nonzero< R > & | operator= (const Nonzero< S > &vec) |
template<class S > | |
Nonzero (const Nonzero< S > &vec) | |
Nonzero () | |
template<> | |
Nonzero< Real > & | operator= (const Nonzero< S > &vec) |
Public Attributes | |
R | val |
Value of nonzero element. More... | |
int | idx |
Index of nonzero element. More... | |
Sparse vector nonzero element.
SVectorBase keeps its nonzeros in an array of Nonzeros providing members for saving the index and value.
Definition at line 37 of file svectorbase.h.
Definition at line 54 of file svectorbase.h.
Nonzero | ( | ) |
Definition at line 60 of file svectorbase.h.
Definition at line 45 of file svectorbase.h.
Referenced by SVectorBase< Rational >::assignArray(), and SVectorBase< Rational >::SVectorBase().
Definition at line 72 of file svectorbase.h.
int idx |
Index of nonzero element.
Definition at line 42 of file svectorbase.h.
Referenced by SVectorBase< Rational >::add(), SSVectorBase< Rational >::assign2product1(), SSVectorBase< Rational >::assign2productAndSetup(), SSVectorBase< Rational >::assign2productFull(), SSVectorBase< Rational >::assign2productShort(), SVectorBase< Rational >::assignArray(), SVectorBase< Rational >::dim(), Presol< R >::getBasis(), SVectorBase< Rational >::index(), SVectorBase< Rational >::isConsistent(), SPxMainSM< R >::IdxCompare::operator()(), SVectorBase< Rational >::operator*(), Nonzero< Rational >::operator=(), SVectorBase< Rational >::operator=(), SVectorBase< Rational >::pos(), SVectorBase< Rational >::scaleAssign(), and SVectorBase< Rational >::sort().
R val |
Value of nonzero element.
Definition at line 41 of file svectorbase.h.
Referenced by SVectorBase< Rational >::add(), SSVectorBase< Rational >::assign2product1(), SSVectorBase< Rational >::assign2productAndSetup(), SSVectorBase< Rational >::assign2productFull(), SSVectorBase< Rational >::assign2productShort(), SVectorBase< Rational >::assignArray(), Presol< R >::getBasis(), SVectorBase< Rational >::isConsistent(), SVectorBase< Rational >::length2(), SVectorBase< Rational >::maxAbs(), SVectorBase< Rational >::minAbs(), SPxMainSM< R >::ElementCompare::operator()(), SVectorBase< Rational >::operator*(), SVectorBase< Rational >::operator*=(), Nonzero< Rational >::operator=(), SVectorBase< Rational >::operator=(), SVectorBase< Rational >::operator[](), SVectorBase< Rational >::scaleAssign(), and SVectorBase< Rational >::value().