You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2004/06/06 00:28:10 UTC

cvs commit: jakarta-commons/math/src/java/org/apache/commons/math/linear RealMatrix.java RealMatrixImpl.java

psteitz     2004/06/05 15:28:10

  Modified:    math/src/java/org/apache/commons/math/linear RealMatrix.java
                        RealMatrixImpl.java
  Log:
  Dropped rank method.
  
  Revision  Changes    Path
  1.18      +1 -8      jakarta-commons/math/src/java/org/apache/commons/math/linear/RealMatrix.java
  
  Index: RealMatrix.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/linear/RealMatrix.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- RealMatrix.java	19 May 2004 14:16:32 -0000	1.17
  +++ RealMatrix.java	5 Jun 2004 22:28:10 -0000	1.18
  @@ -47,13 +47,6 @@
        */
       RealMatrix subtract(RealMatrix m) throws IllegalArgumentException;   
       
  -    /**
  -     * Returns the rank of the matrix.
  -     *
  -     * @return the rank of this matrix
  -     */
  -    int getRank();
  -    
        /**
        * Returns the result of adding d to each entry of this.
        *
  
  
  
  1.22      +1 -11     jakarta-commons/math/src/java/org/apache/commons/math/linear/RealMatrixImpl.java
  
  Index: RealMatrixImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/java/org/apache/commons/math/linear/RealMatrixImpl.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- RealMatrixImpl.java	2 Jun 2004 00:06:18 -0000	1.21
  +++ RealMatrixImpl.java	5 Jun 2004 22:28:10 -0000	1.22
  @@ -167,16 +167,6 @@
   	}
   
   	/**
  -	 * Returns the rank of the matrix.
  -	 *
  -	 * @return the rank of this matrix
  -	 */
  -	public int getRank() {
  -		// @TODO need to add singular value decomposition or drop this
  -		throw new UnsupportedOperationException("not implemented yet");
  -	}
  -
  -	/**
   	 * Returns the result of adding d to each entry of this.
   	 *
   	 * @param d    value to be added to each entry
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org