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 >
DVectorBase< R > operator- (const VectorBase< R > &vec)
 Negation. More...
 
template<class R >
DVectorBase< R > operator+ (const VectorBase< R > &v, const VectorBase< R > &w)
 Addition. More...
 
template<class R >
DVectorBase< R > operator+ (const VectorBase< R > &v, const SVectorBase< R > &w)
 Addition. More...
 
template<class R >
DVectorBase< R > operator+ (const SVectorBase< R > &v, const VectorBase< R > &w)
 Addition. More...
 
template<class R >
DVectorBase< R > operator- (const VectorBase< R > &v, const VectorBase< R > &w)
 Subtraction. More...
 
template<class R >
DVectorBase< R > operator- (const VectorBase< R > &v, const SVectorBase< R > &w)
 Subtraction. More...
 
template<class R >
DVectorBase< R > operator- (const SVectorBase< R > &v, const VectorBase< R > &w)
 Subtraction. More...
 
template<class R >
DVectorBase< R > operator* (const VectorBase< R > &v, R x)
 Scaling. More...
 
template<class R >
DVectorBase< R > operator* (R x, const VectorBase< R > &v)
 Scaling. 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, DVectorBase< R > &vec)
 Input operator. More...
 
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 566 of file basevectors.h.

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

◆ SOPLEX_VECTOR_MARKER

#define SOPLEX_VECTOR_MARKER   1e-100