FflasFfpack
Functions
test-nullspace.C File Reference
#include <iomanip>
#include <iostream>
#include "fflas-ffpack/ffpack/ffpack.h"
#include "fflas-ffpack/utils/args-parser.h"
#include "fflas-ffpack/utils/fflas_io.h"
#include "fflas-ffpack/utils/fflas_randommatrix.h"
#include "fflas-ffpack/utils/test-utils.h"
#include "fflas-ffpack/utils/timer.h"

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. More...
 
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()

std::string checkingMessage ( const Field F)

◆ readOrRandomMatrixWithRankAndRandomRPM()

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()

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()

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 
)