Matrix multiplication using arrays
You can try this code: public class MyMatrix { Double[][] A = { { 4.00, 3.00 }, { 2.00, 1.00 } }; Double[][] B = { { -0.500, 1.500 }, { 1.000, -2.0000 } }; public static Double[][] multiplicar(Double[][] A, Double[][] B) { int aRows = A.length; int aColumns = A[0].length; int bRows = B.length; … Read more