Lines Matching refs:mat
39 static double _det3(double (*mat)[3])
47 mat[j][k] = (mat[j][k] * mat[i][i] - mat[j][i] * mat[i][k]);
48 if (i) mat[j][k] /= mat[i-1][i-1];
52 return mat[2][2];
54 static double _det5(double (*mat)[5])
62 mat[j][k] = (mat[j][k] * mat[i][i] - mat[j][i] * mat[i][k]);
63 if (i) mat[j][k] /= mat[i-1][i-1];
67 return mat[4][4];