FflasFfpack
test-nullspace.C File Reference

Functions

template<class Field >
std::string checkingMessage (const Field &F)
 
template<class Field >
Field::Element_ptr readOrRandomMatrixWithRankAndRandomRPM (const Field &F, std::string file, size_t &m, size_t &n, size_t &lda, size_t &r, uint64_t seed)
 If file is not empty, read it and set m, n, lda and r.
 
template<class Field >
bool test_nullspace (Field &F, FFLAS::FFLAS_SIDE side, size_t m, size_t n, size_t r, typename Field::Element_ptr A, size_t lda)
 
template<class Field >
bool run_with_field (Givaro::Integer q, uint64_t b, size_t m, size_t n, size_t r, size_t iters, std::string file, uint64_t &seed)
 
int main (int argc, char **argv)
 

Function Documentation

◆ checkingMessage()

template<class Field >
std::string checkingMessage ( const Field & F)

◆ readOrRandomMatrixWithRankAndRandomRPM()

template<class Field >
Field::Element_ptr readOrRandomMatrixWithRankAndRandomRPM ( const Field & F,
std::string file,
size_t & m,
size_t & n,
size_t & lda,
size_t & r,
uint64_t seed )

If file is not empty, read it and set m, n, lda and r.

Otherwise, generate a random matrix of size m x n with random lda.

◆ test_nullspace()

template<class Field >
bool test_nullspace ( Field & F,
FFLAS::FFLAS_SIDE side,
size_t m,
size_t n,
size_t r,
typename Field::Element_ptr A,
size_t lda )

◆ run_with_field()

template<class Field >
bool run_with_field ( Givaro::Integer q,
uint64_t b,
size_t m,
size_t n,
size_t r,
size_t iters,
std::string file,
uint64_t & seed )

◆ main()

int main ( int argc,
char ** argv )