Here you can find the source of matrix_matrix_mult(double ad[][], double ad1[][], double ad2[][])
public static final void matrix_matrix_mult(double ad[][], double ad1[][], double ad2[][])
//package com.java2s; //License from project: Open Source License public class Main { public static final void matrix_matrix_mult(double ad[][], double ad1[][], double ad2[][]) { for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) ad2[i][j] = ad[i][0] * ad1[0][j] + ad[i][1] * ad1[1][j] + ad[i][2] * ad1[2][j]; }/* ww w.j av a2 s . c o m*/ } }