linbox
|
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>
Public Member Functions | |
integer & | maxNorm (integer &res) |
Compute and return the max-norm of the matrix. | |
size_t | rowdim () |
Give the row dimension of the matrix. | |
size_t | coldim () |
Give the column dimension of the matrix. | |
integer & | hadamardBound (integer &res) const |
Compute and return the hadamard bound of the matrxi. | |
virtual SparseMatrix< Field, Row > * | makeBlackbox (const Field &F)=0 |
Given a field and vector type, construct a black box for the matrix over that field and using that vector type. |
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.
Compute and return the max-norm of the matrix.
res | Place to store result |
Implements BlackboxFactory< Field, SparseMatrix< Field, Row > >.
virtual SparseMatrix< Field, Row > * makeBlackbox | ( | const Field & | F | ) | [pure virtual, inherited] |
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
F | Field over which to construct the black box |