diff --git a/src/site/xdoc/userguide/linear.xml b/src/site/xdoc/userguide/linear.xml index a89b7d6f9..3e5457cf7 100644 --- a/src/site/xdoc/userguide/linear.xml +++ b/src/site/xdoc/userguide/linear.xml @@ -128,7 +128,7 @@ RealMatrix pInverse = new LUDecomposition(p).getSolver().getInverse(); RealMatrix coefficients = new Array2DRowRealMatrix(new double[][] { { 2, 3, -2 }, { -1, 7, 6 }, { 4, -3, -5 } }, false); -DecompositionSolver solver = new LUDecompositionImpl(coefficients).getSolver(); +DecompositionSolver solver = new LUDecomposition(coefficients).getSolver(); Next create a RealVector array to represent the constant vector B and use solve(RealVector) to solve the system