linbox
|
Random Dense Matrix builder. More...
#include <random-matrix.h>
Public Member Functions | |
RandomDenseMatrix (Field &F, Randiter &R) | |
constructor | |
~RandomDenseMatrix () | |
destructor | |
template<class Matrix > | |
Matrix & | random (Matrix &A) |
creates a randomly filled matrix. | |
template<class Matrix , class Method > | |
Matrix & | randomRank (Matrix &A, int rank, const Method &meth) |
provide a matrix with prescribed rank. | |
template<class Matrix > | |
Matrix & | randomRank (Matrix &A, int rank) |
provide a matrix with prescribed rank. |
Random Dense Matrix builder.
Matrix & random | ( | Matrix & | A | ) |
creates a randomly filled matrix.
A | matrix to be randomized. |
Matrix & randomRank | ( | Matrix & | A, |
int | rank, | ||
const Method & | meth | ||
) |
provide a matrix with prescribed rank.
rank | expected rank |
meth | how is the matrix generated ? see RankBuilder. |
Matrix & randomRank | ( | Matrix & | A, |
int | rank | ||
) |
provide a matrix with prescribed rank.
Default method.
rank | expected rank |