|
linbox
|
#include <linbox/linbox-config.h>#include <iostream>#include <fstream>#include <cstdlib>#include "linbox/algorithms/rational-solver.h"#include "linbox/randiter/random-prime.h"#include "givaro/zring.h"#include "linbox/field/param-fuzzy.h"#include "tests/test-common.h"#include "linbox/vector/stream.h"#include "linbox/util/commentator.h"#include "linbox/util/timer.h"#include "linbox/algorithms/rational-solver-sn.h"#include "matrix/coin.h"#include "matrix/invhilb.h"#include "matrix/randommat.h"#include "matrix/randomans.h"#include "matrix/hadamard.h"#include "matrix/minmax.h"#include "matrix/jmat.h"Enumerations | |
| enum | MatType { diag =0 , tref =1 , hilb =2 , zo =3 , rand_sp =4 , I =5 , jordan2 =6 , rand_near_sing =7 , Hadamard =8 , minIJ =9 , maxIJ =10 , DlehmerD =11 , je1 =12 , je2 =13 } |
| enum | SolverType { diagonal , lapack , matlab , superlu , dixon } |
Functions | |
| size_t | nextPower2 (size_t n) |
| template<class Ring, class Matrix, class Vector> | |
| void | generateProblem (const Ring &R, Matrix &D, Vector &b, LinBox::VectorStream< Vector > &stream1, LinBox::VectorStream< Vector > &stream2, MatType mt, int k=10) |
| template<class Ring, class RSolver, class Matrix, class Vector> | |
| bool | testRandomSolve (const Ring &R, RSolver &rsolver, Matrix &D, Vector &b) |
| int | main (int argc, char **argv) |
| enum MatType |
| enum SolverType |
| size_t nextPower2 | ( | size_t | n | ) |
| void generateProblem | ( | const Ring & | R, |
| Matrix & | D, | ||
| Vector & | b, | ||
| LinBox::VectorStream< Vector > & | stream1, | ||
| LinBox::VectorStream< Vector > & | stream2, | ||
| MatType | mt, | ||
| int | k = 10 ) |
| int main | ( | int | argc, |
| char ** | argv ) |