linbox  1
Functions
dot-product.C File Reference

Timings on dot products of random vectors. More...

#include "linbox/linbox-config.h"
#include <iostream>
#include "linbox/field/modular.h"
#include "linbox/vector/vector-domain.h"
#include "linbox/vector/stream.h"
#include "linbox/util/commentator.h"

Functions

int main (int argc, char **argv)
 no command line args

Detailed Description

Timings on dot products of random vectors.

Author:
Bradford Hovinen <hovinen@cis.udel.edu>

Use of vectors meeting the LinBox dense and sparse vector archetypes is illustrated and their dot-product times are benchmarked.

Constructs random vectors and computes their dot product, giving the required time.