[CSC 435] Matrices for Accuracy Testing
Andrew J. Pounds
pounds_aj at mercer.edu
Wed Feb 19 13:39:42 EST 2014
Guys -- while trying to look for a good example of a matrix that needs
conditioning I found myself trying to test the accuracy of some of my
own matrix codes. This prompted me to build a 100x100 random matrix and
its inverse. It occurred to me that such a matrix could be EXTREMELY
useful if you are trying to test the accuracy of your matrix multiply
routines using serial, OpenMP, pThreads, and MPI methods. Basically if
you multiply the matrix and its inverse together you should get the
identity matrix. Summing up the diagonal should equal the dimension of
the matrix.
If you would like to use these for testing, the files are located on the
class website in the DATA section.
http://theochem.mercer.edu/csc435
--
Andrew J. Pounds, Ph.D. (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
http://faculty.mercer.edu/pounds_aj
More information about the csc435
mailing list