You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2011/04/28 15:53:23 UTC

svn commit: r1097462 - /commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml

Author: erans
Date: Thu Apr 28 13:53:23 2011
New Revision: 1097462

URL: http://svn.apache.org/viewvc?rev=1097462&view=rev
Log:
Doc fix.

Modified:
    commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml

Modified: commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml?rev=1097462&r1=1097461&r2=1097462&view=diff
==============================================================================
--- commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml (original)
+++ commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml Thu Apr 28 13:53:23 2011
@@ -131,7 +131,7 @@ DecompositionSolver solver = new LUDecom
           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