last state ...
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
cf3137cea9
commit
850d5b9e6c
4 changed files with 6 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
*~
|
||||||
|
build/
|
||||||
|
Session.vim
|
BIN
jmat-release-1.1.0.zip
Normal file
BIN
jmat-release-1.1.0.zip
Normal file
Binary file not shown.
BIN
lib/Jama-1.0.3.jar
Normal file
BIN
lib/Jama-1.0.3.jar
Normal file
Binary file not shown.
|
@ -20,6 +20,7 @@ public class HelloWorld {
|
||||||
DMatrix inverseMatrix = MatMaths.inverseOf(matrix);
|
DMatrix inverseMatrix = MatMaths.inverseOf(matrix);
|
||||||
DMatrix addMatrix = MatMaths.add(matrixOne,matrixTwo);
|
DMatrix addMatrix = MatMaths.add(matrixOne,matrixTwo);
|
||||||
DMatrix multMatrix = MatMaths.mul(m,p);
|
DMatrix multMatrix = MatMaths.mul(m,p);
|
||||||
|
DMatrix identMatrix = MatMaths.mul(matrix,inverseMatrix);
|
||||||
|
|
||||||
System.out.println("First Matrix:");
|
System.out.println("First Matrix:");
|
||||||
/*
|
/*
|
||||||
|
@ -31,6 +32,8 @@ public class HelloWorld {
|
||||||
|
|
||||||
System.out.println("Inverted Matrix:");
|
System.out.println("Inverted Matrix:");
|
||||||
inverseMatrix.show();
|
inverseMatrix.show();
|
||||||
|
System.out.println("Identity Matrix:");
|
||||||
|
identMatrix.show();
|
||||||
|
|
||||||
System.out.println("Add Matrix:");
|
System.out.println("Add Matrix:");
|
||||||
addMatrix.show();
|
addMatrix.show();
|
||||||
|
|
Loading…
Reference in a new issue