/[Apache-SVN]
ViewVC logotype

Revision 1416249


Jump to revision: Previous Next
Author: luc
Date: Sun Dec 2 20:23:49 2012 UTC (11 years, 11 months ago)
Changed paths: 2
Log Message:
Added lower and upper boundaries to finite differences.

When a function is defined only on an interval, finite differences
should not attempt to compute sample points outside this interval. This
case is now detected properly and the sample is shifted if needed. This
may result in some loss of accuracy as the formula is not centered
anymore, but at least we should not get catastrophic errors or
exceptions.

Changed paths

Path Details
Directorycommons/proper/math/trunk/src/main/java/org/apache/commons/math3/analysis/differentiation/FiniteDifferencesDifferentiator.java modified , text changed
Directorycommons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26