public void adjustable() {
DenseMatrix64F A = RandomMatrices.createRandom(5,4,rand);
DenseMatrix64F x = RandomMatrices.createRandom(4,1,rand);
DenseMatrix64F y = new DenseMatrix64F(5,1);
AdjustableLinearSolver solver = LinearSolverFactory.adjustable();
standardTest(A, x, y, solver);
// remove the last observation
solver.removeRowFromA(y.numRows-1);
// compute the adjusted solution
y.numRows--;
DenseMatrix64F x_adj = new DenseMatrix64F(4,1);
solver.solve(y,x_adj);
// The solution should still be the same
assertTrue(MatrixFeatures.isIdentical(x,x_adj,1e-8));
}