import Jama.*; public class Test { public static void main(String[] args) throws Exception{ Matrix A = new Matrix(3, 3); A.set(1,0,10.0); A.set(1,1,10.0); A.set(1,2,10.0); System.out.println("A\n"+toString(A)); System.out.println("A get\n"+A.get(1,1)); double[][] bvals = {{1.,2.,3},{4.,5.,6.},{7.,8.,10.}}; Matrix B = new Matrix(bvals); System.out.println("B\n"+toString(B)); Matrix C = A.times(B); System.out.println("Carpim\n"+toString(C)); Matrix D = A.plus(B); System.out.println("Toplam\n"+toString(D)); } public static String toString(Matrix m) { String s = ""; for (int i=0;i