FflasFfpack
Namespaces | Constant Groups | Functions
test-utils.h File Reference

Utilities to create matrices with prescribed shapes, properties,... More...

#include "fflas-ffpack/field/nonzero-randiter.h"
#include "fflas-ffpack/utils/debug.h"
#include "fflas-ffpack/ffpack/ffpack.h"

Namespaces

 FFPACK
 Finite Field PACK Set of elimination based routines for dense linear algebra.
 

Constant Groups

 FFPACK
 Finite Field PACK Set of elimination based routines for dense linear algebra.
 

Functions

template<class Field >
Field::ElementRandomMatrix (const Field &F, typename Field::Element *A, size_t m, size_t n, size_t lda)
 Random Matrix. More...
 
int RandInt (int a, int b)
 Random integer in range. More...
 
size_t RandInt (size_t a, size_t b)
 Random integer in range. More...
 
template<class Field >
Field::ElementRandomMatrixWithRank (const Field &F, typename Field::Element *A, size_t r, size_t m, size_t n, size_t lda)
 Random Matrix with prescribed rank. More...
 

Detailed Description

Utilities to create matrices with prescribed shapes, properties,...

To be used in the tests