All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Vector_exact Class Reference Dense vector of MpqReal.Class Vector_exact is a copy of class Vector replacing the floating point type Real with the exact MpqReal. More...
Inheritance diagram for Vector_exact:
![]()
Detailed DescriptionDense vector of MpqReal. Class Vector_exact is a copy of class Vector replacing the floating point type Real with the exact MpqReal. Definition at line 41 of file vector_exact.h. Constructor & Destructor Documentation
construction There is no default constructor since the storage for a Vector must be provided externally. Storage must be passed as a memory block val at construction. It must be large enough to fit at least dimen Real values. Definition at line 68 of file vector_exact.h. References Vector_exact::dimen, and Vector_exact::isConsistent().
we have no default constructor. Member Function Documentation
set vector to 0. Definition at line 176 of file vector_exact.h. References Vector_exact::dimen, and Vector_exact::val. Referenced by SPxLP::computeDualActivity(), SPxLP::computePrimalActivity(), and Vector_exact::operator=().
dimension of vector Definition at line 93 of file vector_exact.h. References Vector_exact::dimen. Referenced by SPxLP::computeDualActivity(), SPxLP::computePrimalActivity(), DVector::DVector(), DVector_exact::DVector_exact(), Vector_exact::isConsistent(), Vector_exact::maxAbs(), Vector_exact::minAbs(), Vector_exact::multAdd(), Vector_exact::operator*=(), Vector_exact::operator+=(), Vector_exact::operator-=(), soplex::operator<<(), Vector_exact::operator=(), DVector_exact::operator=(), Vector::operator=(), soplex::operator==(), and DVector_exact::reSize().
Conversion to C-style pointer. This function serves for using a Vector in an C-style function. It returns a pointer to the first value of the array. Definition at line 165 of file vector_exact.h. References Vector_exact::val.
Conversion to C-style pointer. This function serves for using a Vector in an C-style function. It returns a pointer to the first value of the array.
Definition at line 157 of file vector_exact.h. References Vector_exact::val.
consistency check. Definition at line 241 of file vector_exact.cpp. References Vector_exact::dim(), MSGinconsistent, and Vector_exact::val. Referenced by DVector_exact::isConsistent(), Vector_exact::operator=(), and Vector_exact::Vector_exact().
absolute biggest element (infinity norm). Definition at line 174 of file vector_exact.cpp. References soplex::abs(), Vector_exact::dim(), and Vector_exact::val.
absolute smallest element. Definition at line 191 of file vector_exact.cpp. References soplex::abs(), Vector_exact::dim(), and Vector_exact::val.
addition of scaled vector Definition at line 210 of file vector_exact.cpp. References Vector_exact::dim(), Vector_exact::dimen, and Vector_exact::val. Referenced by SPxLP::computeDualActivity(), and SPxLP::computePrimalActivity().
addition of scaled vector
addition of scaled vector Definition at line 220 of file vector_exact.cpp. References Vector_exact::dim(), SVector::index(), SVector::size(), Vector_exact::val, and SVector::value().
scaling Definition at line 164 of file vector_exact.cpp. References Vector_exact::dim(), and Vector_exact::val.
vector addition Definition at line 90 of file vector_exact.cpp. References Vector_exact::dim(), Vector_exact::dimen, and Vector_exact::val.
vector addition Definition at line 102 of file vector_exact.cpp. References Vector_exact::dim(), Vector::dim(), and Vector_exact::val.
vector addition Definition at line 114 of file vector_exact.cpp. References Vector_exact::dim(), SVector::index(), SVector::size(), Vector_exact::val, and SVector::value().
vector difference Definition at line 128 of file vector_exact.cpp. References Vector_exact::dim(), and Vector_exact::val.
vector difference Definition at line 140 of file vector_exact.cpp. References Vector_exact::dim(), Vector::dim(), and Vector_exact::val.
vector difference Definition at line 152 of file vector_exact.cpp. References Vector_exact::dim(), SVector::index(), SVector::size(), Vector_exact::val, and SVector::value().
Assignment operator. Definition at line 26 of file vector_exact.cpp. References Vector_exact::dim(), Vector_exact::dimen, Vector_exact::isConsistent(), and Vector_exact::val. Referenced by DVector_exact::DVector_exact(), and DVector_exact::operator=().
Assignment operator. Definition at line 61 of file vector_exact.cpp. References Vector_exact::dim(), Vector::dim(), Vector_exact::dimen, Vector_exact::isConsistent(), and Vector_exact::val.
Assignment operator. Assigning a SVector to a Vector using operator=() will set all values to 0 except the nonzeros of Definition at line 75 of file vector_exact.cpp. References Vector_exact::clear(), Vector_exact::dim(), SVector::index(), Vector_exact::isConsistent(), SVector::size(), Vector_exact::val, and SVector::value().
return Definition at line 98 of file vector_exact.h. References Vector_exact::dimen, and Vector_exact::val.
return Definition at line 105 of file vector_exact.h. References Vector_exact::dimen, and Vector_exact::val. Friends And Related Function Documentation
output operator. Definition at line 231 of file vector_exact.cpp.
equality operator Definition at line 43 of file vector_exact.cpp. Member Data Documentation
dimension of vector Definition at line 49 of file vector_exact.h. Referenced by Vector_exact::clear(), Vector_exact::dim(), DVector_exact::DVector_exact(), DVector_exact::isConsistent(), Vector_exact::multAdd(), Vector_exact::operator+=(), Vector_exact::operator=(), Vector_exact::operator[](), DVector_exact::reDim(), DVector_exact::reSize(), and Vector_exact::Vector_exact().
values of a vector The memory block pointed to by val must at least have size dimen * sizeof(Real) Definition at line 54 of file vector_exact.h. Referenced by Vector_exact::clear(), DVector_exact::DVector_exact(), Vector_exact::get_const_ptr(), Vector_exact::get_ptr(), DVector_exact::isConsistent(), Vector_exact::isConsistent(), Vector_exact::maxAbs(), Vector_exact::minAbs(), Vector_exact::multAdd(), Vector_exact::operator*=(), Vector_exact::operator+=(), Vector_exact::operator-=(), Vector_exact::operator=(), Vector_exact::operator[](), and DVector_exact::reSize().
|