The program is written in
the C++ programming language and uses matrix class and inheritance
structures and the standard template library (STL) extensively.
With Tester, you can do
basic arithmetic operations on matrices such as matrix addition,
subtraction, and multiplication.
With Tester you can also
do more sophisticated matrix operations such as inversion, factor
decomposition, diagonal matrix, and eigenvalue and eigenvector analysis
using famous methods such as the Cholesky, Gram Schmidt, Gauss,
Householder , Jacobi and Singular Value Decomposition (SVD) methods.
The input matrix may need
to exhibit certain characteristics such as square, symmetric
and/or positive definite characteristics for a particular method
to apply.
Some famous
ill-conditioned matrices such as the Hilbert matrix can also be
analyzed.
Example: A is a [2x2]
square matrix. Find A's inverse Z = A^-1 and A's singular value
decomposition A = U*S*Vt
Screen shots:
Input:
Square Matrix: A [2,2]
[ 1.00E+00 2.00E+00 ]
[ 3.00E+00 4.00E+00 ]
Output:
1. Inverse by Gauss LU
Method:
A^-1 [2,2]
[ -2.00E+00 1.00E+00 ]
[ 1.50E+00 -5.00E-01 ]
2. Singular Value Decomposition:
A = U*S*Vt
[ 4.05E-01 9.15E-01 ] [ 5.46E+00 0.0 ] [
5.76E-01 8.17E-01 ]
[ 9.15E-01 -4.05E-01 ] [ 0.0 3.66E-01 ] [
-8.17E-01 5.76E-01 ]