linbox
Public Member Functions
SparseMatrixFactory< Field, BElement, Row, BRow > Class Template Reference

Sparse matrix factory This class inherits BlackboxFactory and provides a method for using a SparseMatrixBase object with integer or rational data type as input to the high-level integer and rational solutions functions. More...

#include <sparse.h>

+ Inheritance diagram for SparseMatrixFactory< Field, BElement, Row, BRow >:
+ Collaboration diagram for SparseMatrixFactory< Field, BElement, Row, BRow >:

Public Member Functions

SparseMatrix< Field, Row > * makeBlackbox (const Field &F)
 Given a field and vector type, construct a black box for the matrix over that field and using that vector type. More...
 
integermaxNorm (integer &res)
 Compute and return the max-norm of the matrix. More...
 
size_t rowdim ()
 Give the row dimension of the matrix.
 
size_t coldim ()
 Give the column dimension of the matrix.
 
integerhadamardBound (integer &res) const
 Compute and return the hadamard bound of the matrxi.
 

Detailed Description

template<class Field, class BElement = typename Field::Element, class Row = typename LinBox::Vector<Field>::Sparse, class BRow = typename LinBox::RawVector<BElement>::Sparse>
class LinBox::SparseMatrixFactory< Field, BElement, Row, BRow >

Sparse matrix factory This class inherits BlackboxFactory and provides a method for using a SparseMatrixBase object with integer or rational data type as input to the high-level integer and rational solutions functions.

Member Function Documentation

SparseMatrix< Field, _Row > * makeBlackbox ( const Field &  F)
virtual

Given a field and vector type, construct a black box for the matrix over that field and using that vector type.

This should be implemented by the user

Parameters
FField over which to construct the black box

Implements BlackboxFactory< Field, SparseMatrix< Field, Row > >.

integer& maxNorm ( integer res)
inlinevirtual

Compute and return the max-norm of the matrix.

Parameters
resPlace to store result

Implements BlackboxFactory< Field, SparseMatrix< Field, Row > >.


The documentation for this class was generated from the following files: