Scippy

SoPlex

Sequential object-oriented simPlex

basevectors.h File Reference

Collection of dense, sparse, and semi-sparse vectors. More...

Go to the source code of this file.

Namespaces

 soplex
 Everything should be within this namespace.
 

Macros

#define SOPLEX_VECTOR_MARKER   1e-100
 
#define shortProductFactor   0.5
 Assigns SSVectorBase to \(A \cdot x\) for a setup x. More...
 

Functions

template<class R >
std::ostream & operator<< (std::ostream &s, const VectorBase< R > &vec)
 Output operator. More...
 
template<class R >
VectorBase< R > operator- (const SVectorBase< R > &v, const VectorBase< R > &w)
 Subtraction. More...
 
template<class R >
DSVectorBase< R > operator* (const SVectorBase< R > &v, R x)
 Scaling. More...
 
template<class R >
DSVectorBase< R > operator* (R x, const SVectorBase< R > &v)
 Scaling. More...
 
template<class R >
std::istream & operator>> (std::istream &s, VectorBase< R > &vec)
 
template<class R >
std::ostream & operator<< (std::ostream &os, const SVectorBase< R > &v)
 Output operator. More...
 
template<class R >
std::ostream & operator<< (std::ostream &os, const SVSetBase< R > &s)
 Output operator. More...
 

Detailed Description

Collection of dense, sparse, and semi-sparse vectors.

Definition in file basevectors.h.

Macro Definition Documentation

◆ shortProductFactor

#define shortProductFactor   0.5

Assigns SSVectorBase to \(A \cdot x\) for a setup x.

Definition at line 538 of file basevectors.h.

Referenced by SSVectorBase< Rational >::assign2product4setup().

◆ SOPLEX_VECTOR_MARKER

#define SOPLEX_VECTOR_MARKER   1e-100