Doc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1097462 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dcfb76fa00
commit
8af698213b
|
@ -131,7 +131,7 @@ DecompositionSolver solver = new LUDecompositionImpl(coefficients).getSolver();
|
|||
Next create a <code>RealVector</code> array to represent the constant
|
||||
vector B and use <code>solve(RealVector)</code> to solve the system
|
||||
<source>
|
||||
RealVector constants = new RealVectorImpl(new double[] { 1, -2, 1 }, false);
|
||||
RealVector constants = new ArrayRealVector(new double[] { 1, -2, 1 }, false);
|
||||
RealVector solution = solver.solve(constants);
|
||||
</source>
|
||||
The <code>solution</code> vector will contain values for x
|
||||
|
|
Loading…
Reference in New Issue