|
examples/blackbox/example.C |
- Author:
-
Bradford Hovinen <hovinen@cis.udel.edu> @memo Simple example on Linbox use. Demonstrates loading and application of blackbox matrix to a vector and computation of the minimal polynomial. @doc FIXME what is shown different that in other minpoly example?
|
| typedef LinBox::GivaroGfq | Field |
| typedef vector< Field::Element > | Vector |
| typedef vector< Field::Element > | Polynomial |
typedef vector< pair< size_t,
Field::Element > > | Row |
typedef LinBox::SparseMatrix<
Field, Row > | Blackbox |
| void | printVector (const Field &F, const Vector &v) |
| void | printPolynomial (const Field &F, const Polynomial &v) |
| void | makeTestVector (const Field &F, const Blackbox &A, Vector &v) |
| void | testApply (const Field &F, const Blackbox &A, const Vector &v) |
| void | testMinpoly (const Field &F, const Blackbox &A) |
| int | main (int argc, char **argv) |
| | no command line args
|
| const int | n = 10 |
| const int | q = 101 |