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. More... | |
template<class Matrix > | |
Matrix & | randomRank (Matrix &A, int rank) |
provide a matrix with prescribed rank. More... | |
template<class Matrix > | |
Matrix & | randomRank (Matrix &A, int rank, const RankBuilder::LU_ &meth) |
provide a matrix with prescribed rank. More... | |
Random Dense Matrix builder.
Matrix & random | ( | Matrix & | A | ) |
creates a randomly filled matrix.
A | matrix to be randomized. |
Matrix & randomRank | ( | Matrix & | A, |
int | rank | ||
) |
provide a matrix with prescribed rank.
Default method.
A | |
rank | expected rank |
Matrix & randomRank | ( | Matrix & | A, |
int | rank, | ||
const RankBuilder::LU_ & | meth | ||
) |
provide a matrix with prescribed rank.
A | |
rank | expected rank |
meth | how is the matrix generated ? see RankBuilder. |