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} */
|
/** {@inheritDoc} */
|
||||||
public RealMatrix add(RealMatrix m)
|
public RealMatrix add(RealMatrix m)
|
||||||
throws MatrixDimensionMismatchException {
|
throws MatrixDimensionMismatchException {
|
||||||
|
|
|
@ -145,7 +145,6 @@ public class Array2DRowRealMatrix extends AbstractRealMatrix implements Serializ
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
|
||||||
public RealMatrix copy() {
|
public RealMatrix copy() {
|
||||||
return new Array2DRowRealMatrix(copyOut(), false);
|
return new Array2DRowRealMatrix(copyOut(), false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -271,7 +271,6 @@ public class BlockRealMatrix extends AbstractRealMatrix implements Serializable
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
|
||||||
public BlockRealMatrix copy() {
|
public BlockRealMatrix copy() {
|
||||||
// create an empty matrix
|
// create an empty matrix
|
||||||
BlockRealMatrix copied = new BlockRealMatrix(rows, columns);
|
BlockRealMatrix copied = new BlockRealMatrix(rows, columns);
|
||||||
|
|
|
@ -69,7 +69,6 @@ public class OpenMapRealMatrix extends AbstractRealMatrix
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
|
||||||
public OpenMapRealMatrix copy() {
|
public OpenMapRealMatrix copy() {
|
||||||
return new OpenMapRealMatrix(this);
|
return new OpenMapRealMatrix(this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue