diff --git a/src/main/java/org/apache/commons/math3/linear/OpenMapRealMatrix.java b/src/main/java/org/apache/commons/math3/linear/OpenMapRealMatrix.java index 6c7bf51a4..d0e42e09d 100644 --- a/src/main/java/org/apache/commons/math3/linear/OpenMapRealMatrix.java +++ b/src/main/java/org/apache/commons/math3/linear/OpenMapRealMatrix.java @@ -27,7 +27,13 @@ import org.apache.commons.math3.util.OpenIntToDoubleHashMap; * * @version $Id$ * @since 2.0 + * @deprecated As of version 3.1, this class is deprecated, for reasons exposed + * in this JIRA + * ticket. This + * class will be removed in version 4.0. + * */ +@Deprecated public class OpenMapRealMatrix extends AbstractRealMatrix implements SparseRealMatrix, Serializable { /** Serializable version identifier. */ diff --git a/src/main/java/org/apache/commons/math3/linear/SparseRealMatrix.java b/src/main/java/org/apache/commons/math3/linear/SparseRealMatrix.java index 0f4af780b..a0156b675 100644 --- a/src/main/java/org/apache/commons/math3/linear/SparseRealMatrix.java +++ b/src/main/java/org/apache/commons/math3/linear/SparseRealMatrix.java @@ -22,8 +22,13 @@ package org.apache.commons.math3.linear; * * @version $Id$ * @since 2.0 + * @deprecated As of version 3.1, this class is deprecated, for reasons exposed + * in this JIRA + * ticket. This + * class will be removed in version 4.0. * */ +@Deprecated public interface SparseRealMatrix extends RealMatrix { }