diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6635993 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*~ +build/ +Session.vim diff --git a/jmat-release-1.1.0.zip b/jmat-release-1.1.0.zip new file mode 100644 index 0000000..15a398c Binary files /dev/null and b/jmat-release-1.1.0.zip differ diff --git a/lib/Jama-1.0.3.jar b/lib/Jama-1.0.3.jar new file mode 100644 index 0000000..c800759 Binary files /dev/null and b/lib/Jama-1.0.3.jar differ diff --git a/src/hbb/HelloWorld.java b/src/hbb/HelloWorld.java index 62fddbf..58061f6 100644 --- a/src/hbb/HelloWorld.java +++ b/src/hbb/HelloWorld.java @@ -20,6 +20,7 @@ public class HelloWorld { DMatrix inverseMatrix = MatMaths.inverseOf(matrix); DMatrix addMatrix = MatMaths.add(matrixOne,matrixTwo); DMatrix multMatrix = MatMaths.mul(m,p); + DMatrix identMatrix = MatMaths.mul(matrix,inverseMatrix); System.out.println("First Matrix:"); /* @@ -31,6 +32,8 @@ public class HelloWorld { System.out.println("Inverted Matrix:"); inverseMatrix.show(); + System.out.println("Identity Matrix:"); + identMatrix.show(); System.out.println("Add Matrix:"); addMatrix.show();