linbox
Vector< Ring > Struct Template Reference

Vector ?? More...

#include <vector-traits.h>

+ Inheritance diagram for Vector< Ring >:

Data Structures

struct  rebind
 

Public Types

typedef Ring::Element Element
 
typedef std::vector< ElementDense
 
typedef std::vector< std::pair< size_t, Element > > SparseSeq
 
typedef std::list< std::pair< size_t, Element > > SparseSeq2
 
typedef std::map< size_t, ElementSparseMap
 
typedef std::pair< std::vector< size_t >, DenseSparsePar
 
typedef SparsePar Sparse
 

Static Public Member Functions

static size_t size (const VType &d)
 
static size_t size (const Sparse &d)
 
static VType & convert (VType &u, const VType &v)
 
static Denseconvert (Dense &u, const SparseSeq &v)
 
static Sparseconvert (Sparse &u, const SparseSeq &v)
 
static SparseSeqconvert (SparseSeq &u, const Sparse &v)
 

Detailed Description

template<class Ring>
struct LinBox::Vector< Ring >

Vector ??

Member Typedef Documentation

◆ Element

template<class Ring>
typedef Ring::Element Element

◆ Dense

typedef std::vector<Element> Dense
inherited

◆ SparseSeq

typedef std::vector<std::pair<size_t, Element> > SparseSeq
inherited

◆ SparseSeq2

typedef std::list<std::pair<size_t, Element> > SparseSeq2
inherited

◆ SparseMap

typedef std::map<size_t, Element> SparseMap
inherited

◆ SparsePar

typedef std::pair<std::vector<size_t>, Dense > SparsePar
inherited

◆ Sparse

typedef SparsePar Sparse
inherited

Member Function Documentation

◆ size() [1/2]

static size_t size ( const VType & d)
inlinestaticinherited

◆ size() [2/2]

static size_t size ( const Sparse & d)
inlinestaticinherited

◆ convert() [1/4]

static VType & convert ( VType & u,
const VType & v )
inlinestaticinherited

◆ convert() [2/4]

static Dense & convert ( Dense & u,
const SparseSeq & v )
inlinestaticinherited

◆ convert() [3/4]

static Sparse & convert ( Sparse & u,
const SparseSeq & v )
inlinestaticinherited

◆ convert() [4/4]

static SparseSeq & convert ( SparseSeq & u,
const Sparse & v )
inlinestaticinherited

The documentation for this struct was generated from the following file: