linbox
test-rank.h File Reference

no doc More...

#include "linbox/linbox-config.h"
#include <iostream>
#include <fstream>
#include <cstdio>
#include <givaro/modular.h>
#include "linbox/util/commentator.h"
#include "linbox/ring/modular.h"
#include "linbox/field/gf2.h"
#include "linbox/blackbox/diagonal.h"
#include "linbox/matrix/sparse-matrix.h"
#include "linbox/blackbox/scalar-matrix.h"
#include "linbox/blackbox/direct-sum.h"
#include "linbox/algorithms/gauss.h"
#include "linbox/algorithms/gauss-gf2.h"
#include "linbox/solutions/rank.h"
#include "test-common.h"

Detailed Description

no doc

Test:

bool testSparseRank(const Field &F, const size_t & n, size_t m, const size_t & iterations, const double & sparsity)

bool testRankMethods(const typename BlackBox::Field & F, size_t n, size_t m, unsigned int iterations, double sparsity = 0.05)

bool testRankMethodsGF2(const GF2& F2, size_t n, unsigned int iterations, double sparsity = 0.05)

bool testZeroAndIdentRank (const Field &F, size_t n, unsigned int iterations = 1)