linbox
|
Utilities for tests on matrices. More...
#include "fflas-ffpack/utils/Matio.h"
Namespaces | |
LinBox | |
Namespace in which all linbox code resides. | |
Functions | |
size_t & | RandIntInInt (const size_t &s, size_t &RIII, const int &seed=0) |
gives a random number such that . More... | |
void | RandomPermutation (size_t *P, const size_t &len) |
Creates a random Lapack style Permutation P of size len . | |
template<class Field > | |
bool | CheckRank (const Field &F, const typename Field ::Element *A, const size_t &m, const size_t &n, const size_t &lda, const size_t &alledged_rank) |
Checks we got the right rank. More... | |
template<class Field > | |
void | RandomMatrixWithRank (const Field &F, typename Field ::Element *A, const size_t &m, const size_t &n, const size_t &lda, const size_t &rank) |
Builds a m x n random matrix of rank rank over field F . | |
template<class Field > | |
void | RandomMatrixWithDet (const Field &F, typename Field ::Element *A, const size_t &m, const size_t &lda, const typename Field ::Element &det) |
Builds a m x m random matrix of determinant det over field F . More... | |
Utilities for tests on matrices.
matrix/random-matrix.h