FflasFfpack
Namespaces | 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

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

Functions

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

Detailed Description

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

To be used in the tests