Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

/home/saunders/linbox/tests/test-matrix-stream.C File Reference

#include <iostream>
#include <fstream>
#include <string>
#include <linbox/field/unparametric.h>
#include <linbox/util/matrix-stream.h>
#include <linbox/integer.h>
#include <linbox/blackbox/dense.h>
#include <linbox/blackbox/sparse.h>

Typedefs

typedef UnparametricField<
integer
TestField

Functions

template<class BB> bool testBlackBox (const char *filename, const char *BBName)
int main ()

Variables

const int nMatrices = 7
char * matrixNames [nMatrices]
const size_t rowDim = 11
const size_t colDim = 11
int nonZeros = 33
integer matrix [rowDim][colDim]
TestField f


Typedef Documentation

typedef UnparametricField<integer> TestField
 


Function Documentation

bool testBlackBox const char *  filename,
const char *  BBName
 

int main  ) 
 


Variable Documentation

const int nMatrices = 7
 

char* matrixNames[nMatrices]
 

Initial value:

{ "data/sms.matrix", "data/matrix-market-array.matrix", "data/maple-sparse1.matrix", "data/maple-dense1.matrix", "data/generic-dense.matrix", "data/sparse-row.matrix", "data/matrix-market-coordinate.matrix" }

const size_t rowDim = 11
 

const size_t colDim = 11
 

int nonZeros = 33
 

integer matrix[rowDim][colDim]
 

Initial value:

{ {0, 0, 2, 3, 0, 0, 0, 0, 0, 1, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {2, 0, 0, 1, -1, 0, 0, 0, 0, 0, 6}, {3, 0, 1, 4, 0, 0, 12, 0, 0, -13, 0}, {0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0}, {0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 500, 400, 300, 200}, {0, 0, 0, 0, 0, 0, 0, 400, 0, 0, 0}, {1, 0, 0, -13, 0, 1, 0, 300, 0, 10, 1}, {0, 0, 6, 0, 0, 0, 0, 200, 0, 1, 0} }

TestField f
 


Generated on Fri Jul 8 10:29:42 2005 for linbox by doxygen 1.3.7