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 2008/04/24 15:22:18 UTC

svn commit: r651256 - in /commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear: BigMatrixImpl.java RealMatrixImpl.java

Author: luc
Date: Thu Apr 24 06:22:14 2008
New Revision: 651256

URL: http://svn.apache.org/viewvc?rev=651256&view=rev
Log:
removed the deprecated getIdentity method

Modified:
    commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/BigMatrixImpl.java
    commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/RealMatrixImpl.java

Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/BigMatrixImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/BigMatrixImpl.java?rev=651256&r1=651255&r2=651256&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/BigMatrixImpl.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/BigMatrixImpl.java Thu Apr 24 06:22:14 2008
@@ -1174,18 +1174,6 @@
     //------------------------ Protected methods
     
     /**
-     * Returns <code>dimension x dimension</code> identity matrix.
-     *
-     * @param dimension dimension of identity matrix to generate
-     * @return identity matrix
-     * @throws IllegalArgumentException if dimension is not positive
-     * @deprecated  use {@link MatrixUtils#createBigIdentityMatrix}
-     */
-    protected BigMatrix getIdentity(int dimension) {
-        return MatrixUtils.createBigIdentityMatrix(dimension);
-    }
-    
-    /**
      *  Returns the LU decomposition as a BigMatrix.
      *  Returns a fresh copy of the cached LU matrix if this has been computed; 
      *  otherwise the composition is computed and cached for use by other methods.   

Modified: commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/RealMatrixImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/RealMatrixImpl.java?rev=651256&r1=651255&r2=651256&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/RealMatrixImpl.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/java/org/apache/commons/math/linear/RealMatrixImpl.java Thu Apr 24 06:22:14 2008
@@ -926,18 +926,6 @@
     //------------------------ Protected methods
 
     /**
-     * Returns <code>dimension x dimension</code> identity matrix.
-     *
-     * @param dimension dimension of identity matrix to generate
-     * @return identity matrix
-     * @throws IllegalArgumentException  if dimension is not positive
-     * @deprecated use {@link MatrixUtils#createRealIdentityMatrix}
-     */
-    protected RealMatrix getIdentity(int dimension) {
-        return MatrixUtils.createRealIdentityMatrix(dimension);
-    }
-
-    /**
      *  Returns the LU decomposition as a RealMatrix.
      *  Returns a fresh copy of the cached LU matrix if this has been computed;
      *  otherwise the composition is computed and cached for use by other methods.