Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SparseMatrixFactory Class Template Reference

#include <sparse.h>

Inheritance diagram for SparseMatrixFactory:

BlackboxFactory< Field, SparseMatrix< Field, Row > > List of all members.

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 \ref{BlackboxFactory} and provides a method for using a \ref{SparseMatrixBase} object with integer or rational data type as input to the high-level integer and rational solutions functions.


Public Methods

 SparseMatrixFactory (const SparseMatrixBase< BElement, BRow > &A)
SparseMatrix< Field, Row > * makeBlackbox (const Field &F)
integermaxNorm (integer &res)
size_t rowdim ()
size_t coldim ()
integerhadamardBound (integer &res) const
integerhadamardBound (integer &res, VectorCategories::SparseParallelVectorTag) const
integerhadamardBound (integer &res, VectorCategories::SparseSequenceVectorTag) const
integerhadamardBound (integer &res, VectorCategories::SparseAssociativeVectorTag) const


Constructor & Destructor Documentation

SparseMatrixFactory const SparseMatrixBase< BElement, BRow > &    A [inline]
 


Member Function Documentation

size_t coldim   [inline, virtual]
 

Give the column dimension of the matrix

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

integer& hadamardBound integer   res,
VectorCategories::SparseAssociativeVectorTag   
const [inline]
 

integer& hadamardBound integer   res,
VectorCategories::SparseSequenceVectorTag   
const [inline]
 

integer& hadamardBound integer   res,
VectorCategories::SparseParallelVectorTag   
const [inline]
 

integer& hadamardBound integer   res const [inline, virtual]
 

Compute and return the hadamard bound of the matrxi.

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

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:
F  Field over which to construct the black box

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

integer& maxNorm integer   res [inline, virtual]
 

Compute and return the max-norm of the matrix.

Parameters:
res  Place to store result

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

size_t rowdim   [inline, virtual]
 

Give the row dimension of the matrix

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


Generated on Mon Jun 20 09:16:56 2005 for linbox by doxygen1.2.18