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

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

#include "linbox-config.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include "linbox/util/commentator.h"
#include "linbox/field/modular.h"
#include "linbox/vector/vector-domain.h"
#include "linbox/matrix/matrix-domain.h"
#include "linbox/vector/stream.h"
#include "linbox/matrix/dense.h"
#include "linbox/matrix/sparse.h"
#include "linbox/blackbox/matrix-blackbox.h"
#include "linbox/matrix/dense-submatrix.h"
#include "test-common.h"

Functions

template<class Matrix> TransposeMatrix< Matrixtranspose (Matrix &M)
template<class Field, class Matrix1, class Matrix2> void eliminate (MatrixDomain< Field > &MD, Matrix1 &M, Matrix2 &pivotRow, size_t row, size_t col, size_t rowdim, size_t coldim)
template<class Field, class Matrix1, class Matrix2> Matrix1 & inv (MatrixDomain< Field > &MD, Matrix1 &res, const Matrix2 &A)
template<class Field, class Matrix> bool testCopyEqual (Field &F, const char *text, const Matrix &M)
template<class Field, class Matrix> bool testSubinIsZero (Field &F, const char *text, const Matrix &M)
template<class Field, class Matrix> bool testAddNegSub (Field &F, const char *text, const Matrix &M1, const Matrix &M2)
template<class Field, class Matrix> bool testAddinNeginSub (Field &F, const char *text, const Matrix &M1, const Matrix &M2)
template<class Field, class Matrix> bool testInvMulSquare (Field &F, const char *text, const Matrix &M)
template<class Field, class Matrix> bool testInvMulOver (Field &F, const char *text, Matrix &M)
template<class Field, class Matrix> bool testInvMulUnder (Field &F, const char *text, Matrix &M)
template<class Field, class Matrix> bool testInvLeftMulinSquare (Field &F, const char *text, const Matrix &M)
template<class Field, class Matrix> bool testInvLeftMulinOver (Field &F, const char *text, Matrix &M)
template<class Field, class Matrix> bool testInvLeftMulinUnder (Field &F, const char *text, Matrix &M)
template<class Field, class Matrix> bool testInvRightMulinSquare (Field &F, const char *text, const Matrix &M)
template<class Field, class Matrix> bool testInvRightMulinOver (Field &F, const char *text, Matrix &M)
template<class Field, class Matrix> bool testInvRightMulinUnder (Field &F, const char *text, Matrix &M)
template<class Field, class Matrix> bool testAddMulAxpyin (Field &F, const char *text, Matrix &M1, Matrix &M2, Matrix &M3)
template<class Field, class Matrix> bool testMVMulSub (Field &F, const char *text, const Matrix &M)
template<class Field, class Matrix> bool testMVAxpy (Field &F, const char *text, const Matrix &M)
template<class Field, class Vector, class Blackbox> bool testLeftBlackboxMul (Field &F, const char *text, const Blackbox &A, VectorStream< Vector > &stream)
template<class Field, class Vector, class Blackbox> bool testRightBlackboxMul (Field &F, const char *text, const Blackbox &A, VectorStream< Vector > &stream)
std::ostream & reportPermutation (std::ostream &out, const std::vector< std::pair< unsigned int, unsigned int > > &P)
template<class Field, class Matrix> bool testPermutation (const Field &F, const char *text, const Matrix &M)
template<class Field, class Blackbox, class Matrix> bool testMatrixDomain (const Field &F, const char *text, Matrix &M1, Matrix &M2, Matrix &M3, const Blackbox &A, unsigned int iterations, MatrixCategories::RowColMatrixTag)
template<class Field, class Blackbox, class Matrix> bool testMatrixDomain (const Field &F, const char *text, Matrix &M1, Matrix &M2, Matrix &M3, const Blackbox &A, unsigned int iterations, MatrixCategories::RowMatrixTag)
template<class Field, class Blackbox, class Matrix> bool testMatrixDomain (const Field &F, const char *text, Matrix &M1, Matrix &M2, Matrix &M3, const Blackbox &A, unsigned int iterations, MatrixCategories::ColMatrixTag)
int main (int argc, char **argv)


Function Documentation

TransposeMatrix<Matrix> transpose Matrix M  ) 
 

void eliminate MatrixDomain< Field > &  MD,
Matrix1 &  M,
Matrix2 &  pivotRow,
size_t  row,
size_t  col,
size_t  rowdim,
size_t  coldim
 

Matrix1& inv MatrixDomain< Field > &  MD,
Matrix1 &  res,
const Matrix2 &  A
 

bool testCopyEqual Field F,
const char *  text,
const Matrix M
[static]
 

bool testSubinIsZero Field F,
const char *  text,
const Matrix M
[static]
 

bool testAddNegSub Field F,
const char *  text,
const Matrix M1,
const Matrix M2
[static]
 

bool testAddinNeginSub Field F,
const char *  text,
const Matrix M1,
const Matrix M2
[static]
 

bool testInvMulSquare Field F,
const char *  text,
const Matrix M
[static]
 

bool testInvMulOver Field F,
const char *  text,
Matrix M
[static]
 

bool testInvMulUnder Field F,
const char *  text,
Matrix M
[static]
 

bool testInvLeftMulinSquare Field F,
const char *  text,
const Matrix M
[static]
 

bool testInvLeftMulinOver Field F,
const char *  text,
Matrix M
[static]
 

bool testInvLeftMulinUnder Field F,
const char *  text,
Matrix M
[static]
 

bool testInvRightMulinSquare Field F,
const char *  text,
const Matrix M
[static]
 

bool testInvRightMulinOver Field F,
const char *  text,
Matrix M
[static]
 

bool testInvRightMulinUnder Field F,
const char *  text,
Matrix M
[static]
 

bool testAddMulAxpyin Field F,
const char *  text,
Matrix M1,
Matrix M2,
Matrix M3
[static]
 

bool testMVMulSub Field F,
const char *  text,
const Matrix M
[static]
 

bool testMVAxpy Field F,
const char *  text,
const Matrix M
[static]
 

bool testLeftBlackboxMul Field F,
const char *  text,
const Blackbox &  A,
VectorStream< Vector > &  stream
[static]
 

bool testRightBlackboxMul Field F,
const char *  text,
const Blackbox &  A,
VectorStream< Vector > &  stream
[static]
 

std::ostream& reportPermutation std::ostream &  out,
const std::vector< std::pair< unsigned int, unsigned int > > &  P
 

bool testPermutation const Field F,
const char *  text,
const Matrix M
 

bool testMatrixDomain const Field F,
const char *  text,
Matrix M1,
Matrix M2,
Matrix M3,
const Blackbox &  A,
unsigned int  iterations,
MatrixCategories::RowColMatrixTag 
 

bool testMatrixDomain const Field F,
const char *  text,
Matrix M1,
Matrix M2,
Matrix M3,
const Blackbox &  A,
unsigned int  iterations,
MatrixCategories::RowMatrixTag 
 

bool testMatrixDomain const Field F,
const char *  text,
Matrix M1,
Matrix M2,
Matrix M3,
const Blackbox &  A,
unsigned int  iterations,
MatrixCategories::ColMatrixTag 
 

int main int  argc,
char **  argv
 


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