You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2009/05/20 00:08:02 UTC
svn commit: r776488 -
/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java
Author: luc
Date: Tue May 19 22:08:01 2009
New Revision: 776488
URL: http://svn.apache.org/viewvc?rev=776488&view=rev
Log:
improved hints for deprecated methods
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java?rev=776488&r1=776487&r2=776488&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/linear/RealMatrix.java Tue May 19 22:08:01 2009
@@ -21,6 +21,7 @@
import org.apache.commons.math.linear.decomposition.DecompositionSolver;
import org.apache.commons.math.linear.decomposition.LUDecomposition;
+import org.apache.commons.math.linear.decomposition.LUDecompositionImpl;
import org.apache.commons.math.linear.decomposition.NonSquareMatrixException;
/**
@@ -445,7 +446,11 @@
*
* @return inverse matrix
* @throws InvalidMatrixException if this is not invertible
- * @deprecated as of release 2.0, replaced by {@link DecompositionSolver#getInverse()}
+ * @deprecated as of release 2.0, replaced by <code>
+ * {@link LUDecompositionImpl#LUDecompositionImpl(RealMatrix)
+ * new LUDecompositionImpl(m)}.{@link LUDecomposition#getSolver()
+ * getSolver()}.{@link DecompositionSolver#getInverse()
+ * getInverse()}</code>
*/
@Deprecated
RealMatrix inverse() throws InvalidMatrixException;
@@ -454,7 +459,10 @@
* Returns the determinant of this matrix.
*
* @return determinant
- * @deprecated as of release 2.0, replaced by {@link LUDecomposition#getDeterminant()}
+ * @deprecated as of release 2.0, replaced by <code>
+ * {@link LUDecompositionImpl#LUDecompositionImpl(RealMatrix)
+ * new LUDecompositionImpl(m)}.{@link LUDecomposition#getDeterminant()
+ * getDeterminant()}</code>
*/
@Deprecated
double getDeterminant();
@@ -463,7 +471,10 @@
* Is this a singular matrix?
* @return true if the matrix is singular
* @deprecated as of release 2.0, replaced by the boolean negation of
- * {@link DecompositionSolver#isNonSingular()}
+ * <code>{@link LUDecompositionImpl#LUDecompositionImpl(RealMatrix)
+ * new LUDecompositionImpl(m)}.{@link LUDecomposition#getSolver()
+ * getSolver()}.{@link DecompositionSolver#isNonSingular()
+ * isNonSingular()}</code>
*/
@Deprecated
boolean isSingular();