Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

dot-product.C File Reference

#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

Author:
Bradford Hovinen <hovinen@cis.udel.edu>
@memo Use of vectors meeting the LinBox dense and sparse vector archetypes is illustrated and their dot-product times are benchmarked.

@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

Typedef Documentation

typedef Modular<uint32> Field
 


Function Documentation

int main int    argc,
char **    argv
 

no command line args


Variable Documentation

const int n = 10000000
 

const double p = .001
 

const int q = 32749
 


Generated on Mon Jun 20 09:16:50 2005 for linbox by doxygen1.2.18