Source Code
download v1.1
SAMPLE:
import matrixMath.*;
float[][] numbers = new float[2][3];
numbers[0][0] = 1;
numbers[0][1] = 2;
numbers[0][2] = 3;
numbers[1][0] = 4;
numbers[1][1] = 4;
numbers[1][2] = 4;
float[][] numbers2 = new float[3][3];
numbers2[0][0] = 1;
numbers2[0][1] = 2;
numbers2[0][2] = 3;
numbers2[1][0] = 2;
numbers2[1][1] = 2;
numbers2[1][2] = 2;
matrixMath a = new matrixMath(numbers);
a.setNumber(0,2,5);
matrixMath aResult = new matrixMath(numbers2);
println(aResult.getNumber(0,0));
//println(a.give);
aResult = matrixMath.scalePoint(aResult,2,2,2);
println(a.getNumber(0,2));
println(aResult.getNumber(0,0));
println(aResult.getNumber(0,1));
println(aResult.getNumber(0,2));
println(aResult.getNumber(1,0));
println(aResult.getNumber(1,1));
println(aResult.getNumber(1,2));
a = matrixMath.addSquareMatrix(a,aResult);
print("\n");
print("\n");
print("\n");
println(a.sizeCol());
println(a.sizeRow());
println(aResult.getNumber(0,0));
println(aResult.getNumber(0,1));
println(aResult.getNumber(0,2));
println(aResult.getNumber(1,0));
println(aResult.getNumber(1,1));
println(aResult.getNumber(1,2));