MINERAL NEWS
Contains news and
information of mineral producing countries. Daily global updates.
more...

UNDERSTANDING MINING
Mineral concepts were included to assist our math-oriented readers
explain minerals as elements produced in a natural form on earth.
more...

MINERAL FORUM
This forum encompass mining issues. It's easy. You write, you comment and we all enjoy!
more...

A matrix can be used to describe linear equations, to keep track of the coefficients of the linear transformations and also to
record data that depend on two parameters. Matrices can be added, multiplied and decomposed in many ways. Our sample involve
square matrices. Although no details are given regarding the various operations, we do the following:

Vector from Matrix - in some instances we extract a vector from a row or column of a matrix.

Swap, Transpose and Trace - interchange two rows or two columns of a matrix as needed.

Transformations - often used when performing operations on graphic objects. In our case we implement
matrix transformation for n-dimensional vectors and n by n matrices (squared matrices).

Matrix Multiplication - in our case the number of columns of the first matrix is the same as the number of
rows of the second matrix.

Mathematical Operators - we implement various mathematical operations (see results above).

Determinant and Inverse - important qualities associated with square matrices.

Testing Matrix Operator Method

In order to test the Matrix Operator Method, a new TestMatrixOperators()
static method has been added and executed. Supporting code and methods are not shown.

As a sample we provide the input data points using double arrays for matrix m1, matrix m2 and vector v. Results
of the various mathematical operators are shown on the screen above.

The user can manipulate matrix m1 and vector v values and try variations on the arrays themselves by
specifying new matrix and vector values.