commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject [3/4] git commit: MATH-1138 #comment added deprecation and accuracy warnings
Date Tue, 21 Oct 2014 07:55:36 GMT
MATH-1138 #comment added deprecation and accuracy warnings


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/7200c43d
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/7200c43d
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/7200c43d

Branch: refs/heads/master
Commit: 7200c43dea3dbfbd9d38b937c44b6e71744b05c5
Parents: 31fae64
Author: Hank Grabowski <hank@applieddefense.com>
Authored: Mon Oct 20 21:40:02 2014 -0400
Committer: Luc Maisonobe <luc@apache.org>
Committed: Tue Oct 21 09:49:59 2014 +0200

----------------------------------------------------------------------
 .../interpolation/BicubicSplineInterpolatingFunction.java      | 6 +++++-
 .../analysis/interpolation/BicubicSplineInterpolator.java      | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/7200c43d/src/main/java/org/apache/commons/math3/analysis/interpolation/BicubicSplineInterpolatingFunction.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/analysis/interpolation/BicubicSplineInterpolatingFunction.java
b/src/main/java/org/apache/commons/math3/analysis/interpolation/BicubicSplineInterpolatingFunction.java
index 079e9fc..522c2a5 100644
--- a/src/main/java/org/apache/commons/math3/analysis/interpolation/BicubicSplineInterpolatingFunction.java
+++ b/src/main/java/org/apache/commons/math3/analysis/interpolation/BicubicSplineInterpolatingFunction.java
@@ -27,10 +27,14 @@ import org.apache.commons.math3.util.MathArrays;
 /**
  * Function that implements the
  * <a href="http://en.wikipedia.org/wiki/Bicubic_interpolation">
- * bicubic spline interpolation</a>.
+ * bicubic spline interpolation</a>. Due to numerical accuracy issues this should not
+ * be used.
  *
  * @since 2.1
+ * @deprecated as of 3.4 replaced by
+ * {@link org.apache.commons.math3.analysis.interpolation.PiecewiseBicubicSplineInterpolatingFunction}
  */
+@Deprecated
 public class BicubicSplineInterpolatingFunction
     implements BivariateFunction {
     /** Number of coefficients. */

http://git-wip-us.apache.org/repos/asf/commons-math/blob/7200c43d/src/main/java/org/apache/commons/math3/analysis/interpolation/BicubicSplineInterpolator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/analysis/interpolation/BicubicSplineInterpolator.java
b/src/main/java/org/apache/commons/math3/analysis/interpolation/BicubicSplineInterpolator.java
index 5e2c92f..bf48d0f 100644
--- a/src/main/java/org/apache/commons/math3/analysis/interpolation/BicubicSplineInterpolator.java
+++ b/src/main/java/org/apache/commons/math3/analysis/interpolation/BicubicSplineInterpolator.java
@@ -28,7 +28,9 @@ import org.apache.commons.math3.util.MathArrays;
  * Generates a bicubic interpolating function.
  *
  * @since 2.2
+ * @deprecated as of 3.4 replaced by {@link org.apache.commons.math3.analysis.interpolation.PiecewiseBicubicSplineInterpolator}
  */
+@Deprecated
 public class BicubicSplineInterpolator
     implements BivariateGridInterpolator {
     /** Whether to initialize internal data used to compute the analytical


Mime
View raw message