In AbstractRealMatrix, removed empty abstract method copy() (specified in interface RealMatrix).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1388296 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d2258eff70
commit
95bf9fb6cf
|
@ -73,9 +73,6 @@ public abstract class AbstractRealMatrix
|
|||
}
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
public abstract RealMatrix copy();
|
||||
|
||||
/** {@inheritDoc} */
|
||||
public RealMatrix add(RealMatrix m)
|
||||
throws MatrixDimensionMismatchException {
|
||||
|
|
|
@ -145,7 +145,6 @@ public class Array2DRowRealMatrix extends AbstractRealMatrix implements Serializ
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public RealMatrix copy() {
|
||||
return new Array2DRowRealMatrix(copyOut(), false);
|
||||
}
|
||||
|
|
|
@ -271,7 +271,6 @@ public class BlockRealMatrix extends AbstractRealMatrix implements Serializable
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public BlockRealMatrix copy() {
|
||||
// create an empty matrix
|
||||
BlockRealMatrix copied = new BlockRealMatrix(rows, columns);
|
||||
|
|
|
@ -69,7 +69,6 @@ public class OpenMapRealMatrix extends AbstractRealMatrix
|
|||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public OpenMapRealMatrix copy() {
|
||||
return new OpenMapRealMatrix(this);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue