mirror of
https://github.com/apache/commons-math.git
synced 2025-03-05 16:09:09 +00:00
removed the deprecated getIdentity method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651256 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef5946618c
commit
c29768da8d
@ -1173,18 +1173,6 @@ public class BigMatrixImpl implements BigMatrix, Serializable {
|
||||
|
||||
//------------------------ 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;
|
||||
|
@ -925,18 +925,6 @@ public class RealMatrixImpl implements RealMatrix, Serializable {
|
||||
|
||||
//------------------------ 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user