#include "linbox-config.h"#include <iostream>#include <fstream>#include <vector>#include "linbox/field/modular.h"#include "linbox/vector/vector-domain.h"#include "linbox/vector/stream.h"#include "linbox/util/commentator.h"examples/dot-product.C | |
@doc Constructs random vectors and computes their dot product, giving the required time. | |
| typedef Modular< uint32 > | Field |
| int | main (int argc, char **argv) |
| no command line args | |
| const int | n = 10000000 |
| const double | p = .001 |
| const int | q = 32749 |
|
|
|
|
||||||||||||
|
no command line args
|
|
|
|
|
|
|
|
|
|
1.2.18