Home
last modified time | relevance | path

Searched refs:squareMatrix0 (Results 1 – 1 of 1) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMatrixUtils.java46 private static void findPivotAndSwapRow(final int row, final float[][] squareMatrix0, in findPivotAndSwapRow() argument
49 float pivot = Math.abs(squareMatrix0[row][row]); in findPivotAndSwapRow()
51 if (pivot < Math.abs(squareMatrix0[i][row])) { in findPivotAndSwapRow()
53 pivot = Math.abs(squareMatrix0[i][row]); in findPivotAndSwapRow()
58 final float temp0 = squareMatrix0[ip][j]; in findPivotAndSwapRow()
59 squareMatrix0[ip][j] = squareMatrix0[row][j]; in findPivotAndSwapRow()
60 squareMatrix0[row][j] = temp0; in findPivotAndSwapRow()
72 private static void sweep(final int row, final float[][] squareMatrix0, in sweep() argument
74 final float pivot = squareMatrix0[row][row]; in sweep()
79 squareMatrix0[row][j] /= pivot; in sweep()
[all …]