Return-Path:
A side effect of the need for smoothness is that an ODE triggering @@ -168,7 +166,7 @@ do { resetTime = Double.NaN; store.restart(); - // we overshoot by 1/10000 step the end to make sure we get don't miss the last point + // we overshoot by 1/10000 step the end to make sure we don't miss the last point stopTime = starter.integrate(equations, t, y, t + (n - 0.9999) * h, y); if (!Double.isNaN(resetTime)) { // there was an intermediate reset, we restart Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/MultistepIntegrator.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/MultistepIntegrator.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/MultistepIntegrator.java ------------------------------------------------------------------------------ svn:mergeinfo = Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthIntegrator.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthIntegrator.java?rev=761323&r1=761322&r2=761323&view=diff ============================================================================== --- commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthIntegrator.java (original) +++ commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthIntegrator.java Thu Apr 2 15:29:45 2009 @@ -21,6 +21,7 @@ import org.apache.commons.math.ode.DerivativeException; import org.apache.commons.math.ode.FirstOrderDifferentialEquations; import org.apache.commons.math.ode.IntegratorException; +import org.apache.commons.math.ode.MultistepIntegrator; import org.apache.commons.math.ode.events.CombinedEventsManager; import org.apache.commons.math.ode.sampling.StepHandler; @@ -225,7 +226,7 @@ /** Compute the backward differences coefficients array. *
This is quite similar to the Pascal triangle containing the - * binomial coefficiens, except for an additional (-1)i sign. + * binomial coefficients, except for an additional (-1)i sign. * We use a straightforward approach here, since we don't expect this to * be run too many times with too high k. It is based on the recurrence * relations:
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthStepInterpolator.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthStepInterpolator.java?rev=761323&r1=761322&r2=761323&view=diff ============================================================================== --- commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthStepInterpolator.java (original) +++ commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsBashforthStepInterpolator.java Thu Apr 2 15:29:45 2009 @@ -24,6 +24,7 @@ import org.apache.commons.math.fraction.Fraction; import org.apache.commons.math.ode.DerivativeException; import org.apache.commons.math.ode.sampling.AbstractStepInterpolator; +import org.apache.commons.math.ode.sampling.MultistepStepInterpolator; import org.apache.commons.math.ode.sampling.StepInterpolator; /** Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegrator.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegrator.java?rev=761323&r1=761322&r2=761323&view=diff ============================================================================== --- commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegrator.java (original) +++ commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegrator.java Thu Apr 2 15:29:45 2009 @@ -21,6 +21,7 @@ import org.apache.commons.math.ode.DerivativeException; import org.apache.commons.math.ode.FirstOrderDifferentialEquations; import org.apache.commons.math.ode.IntegratorException; +import org.apache.commons.math.ode.MultistepIntegrator; import org.apache.commons.math.ode.events.CombinedEventsManager; import org.apache.commons.math.ode.sampling.StepHandler; Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonStepInterpolator.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonStepInterpolator.java?rev=761323&r1=761322&r2=761323&view=diff ============================================================================== --- commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonStepInterpolator.java (original) +++ commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonStepInterpolator.java Thu Apr 2 15:29:45 2009 @@ -24,6 +24,7 @@ import org.apache.commons.math.fraction.Fraction; import org.apache.commons.math.ode.DerivativeException; import org.apache.commons.math.ode.sampling.AbstractStepInterpolator; +import org.apache.commons.math.ode.sampling.MultistepStepInterpolator; import org.apache.commons.math.ode.sampling.StepInterpolator; /** Copied: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/MultistepStepInterpolator.java (from r761212, commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/MultistepStepInterpolator.java) URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/MultistepStepInterpolator.java?p2=commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/MultistepStepInterpolator.java&p1=commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/MultistepStepInterpolator.java&r1=761212&r2=761323&rev=761323&view=diff ============================================================================== --- commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/MultistepStepInterpolator.java (original) +++ commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/MultistepStepInterpolator.java Thu Apr 2 15:29:45 2009 @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.commons.math.ode.nonstiff; +package org.apache.commons.math.ode.sampling; import java.io.IOException; import java.io.ObjectInput; @@ -23,7 +23,7 @@ import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.ode.DerivativeException; -import org.apache.commons.math.ode.sampling.AbstractStepInterpolator; +import org.apache.commons.math.ode.MultistepIntegrator; /** This class represents an interpolator over the last step during an * ODE integration for multistep integrators. @@ -34,7 +34,7 @@ * @since 2.0 */ -abstract class MultistepStepInterpolator +public abstract class MultistepStepInterpolator extends AbstractStepInterpolator { /** Previous steps times. */ Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/MultistepStepInterpolator.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/MultistepStepInterpolator.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Propchange: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/MultistepStepInterpolator.java ------------------------------------------------------------------------------ svn:mergeinfo =