@Test public void getPivot() throws Exception { Vector pivot = new LUDecomposition(testMatrix).getPivot(); assertEquals("Unexpected pivot size.", rawPivot.length, pivot.size()); for (int i = 0; i < testU.rowSize(); i++) assertEquals("Unexpected value at " + i, rawPivot[i], (int)pivot.get(i) + 1); }
public Vector getPivot() { return pivot.copy(); }
LUDecomposition implements AutoCloseable { public Vector getPivot() { return pivot.copy(); } }
LUDecomposition implements AutoCloseable { public Vector getPivot() { return pivot.copy(); } LUDecomposition(Matrix matrix);  LUDecomposition(Matrix matrix, double singularityThreshold); }
LUDecomposition implements AutoCloseable { public Vector getPivot() { return pivot.copy(); } LUDecomposition(Matrix matrix);  LUDecomposition(Matrix matrix, double singularityThreshold); @Override void close(); Matrix getL(); Matrix getU(); Matrix getP(); Vector getPivot(); double determinant(); Vector solve(Vector b); Matrix solve(Matrix b); }
LUDecomposition implements AutoCloseable { public Vector getPivot() { return pivot.copy(); } LUDecomposition(Matrix matrix);  LUDecomposition(Matrix matrix, double singularityThreshold); @Override void close(); Matrix getL(); Matrix getU(); Matrix getP(); Vector getPivot(); double determinant(); Vector solve(Vector b); Matrix solve(Matrix b);  }