From 9ac992179612af3ffe9affc4cbba5f50e57d04e3 Mon Sep 17 00:00:00 2001
From: Luc Maisonobe
Date: Wed, 20 Jul 2011 10:24:15 +0000
Subject: [PATCH] fixed typo on bracket type for divided differences
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1148685 13f79535-47bb-0310-9956-ffa450edef68
---
.../analysis/interpolation/DividedDifferenceInterpolator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/math/analysis/interpolation/DividedDifferenceInterpolator.java b/src/main/java/org/apache/commons/math/analysis/interpolation/DividedDifferenceInterpolator.java
index 740c0925d..2a3fec75b 100644
--- a/src/main/java/org/apache/commons/math/analysis/interpolation/DividedDifferenceInterpolator.java
+++ b/src/main/java/org/apache/commons/math/analysis/interpolation/DividedDifferenceInterpolator.java
@@ -79,7 +79,7 @@ public class DividedDifferenceInterpolator
*
* The divided difference array is defined recursively by
* f[x0] = f(x0)
- * f[x0,x1,...,xk] = (f(x1,...,xk) - f(x0,...,x[k-1])) / (xk - x0)
+ * f[x0,x1,...,xk] = (f[x1,...,xk] - f[x0,...,x[k-1]]) / (xk - x0)
*
*
* The computational complexity is O(N^2).