commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1097462 - /commons/proper/math/trunk/src/site/xdoc/userguide/linear.xml
Date Thu, 28 Apr 2011 13:53:23 GMT
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



Mime
View raw message