Scippy

SoPlex

Sequential object-oriented simPlex

svectorbase.h File Reference

Sparse vectors. More...

#include <iostream>
#include <assert.h>
#include <math.h>

Go to the source code of this file.

Classes

class  VectorBase< R >
 Dense vector.Class VectorBase provides dense linear algebra vectors. It does not provide memory management for the array of values. Instead, the constructor requires a pointer to a memory block large enough to fit the desired dimension of Real or Rational values. More...
 
class  SSVectorBase< R >
 Semi sparse vector.This class implements semi-sparse vectors. Such are DVectorBases where the indices of its nonzero elements can be stored in an extra IdxSet. Only elements with absolute value > epsilon are considered to be nonzero. Since really storing the nonzeros is not always convenient, an SSVectorBase provides two different stati: setup and not setup. An SSVectorBase being setup means that the nonzero indices are available, otherwise an SSVectorBase is just an ordinary DVectorBase with an empty IdxSet. Note that due to arithmetic operation, zeros can slip in, i.e., it is only guaranteed that at least every non-zero is in the IdxSet. More...
 
class  Nonzero< R >
 Sparse vector nonzero element. More...
 
class  SVectorBase< R >
 Sparse vectors.Class SVectorBase provides packed sparse vectors. Such are a sparse vectors, with a storage scheme that keeps all data in one contiguous block of memory. This is best suited for using them for parallel computing on a distributed memory multiprocessor. More...
 

Namespaces

 soplex
 Everything should be within this namespace.
 

Detailed Description

Sparse vectors.

Definition in file svectorbase.h.