removed duplicate strings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@981248 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
59a4edb84d
commit
df328dbd46
|
@ -140,6 +140,9 @@ import org.apache.commons.math.ode.sampling.StepHandler;
|
||||||
*/
|
*/
|
||||||
public class AdamsBashforthIntegrator extends AdamsIntegrator {
|
public class AdamsBashforthIntegrator extends AdamsIntegrator {
|
||||||
|
|
||||||
|
/** Integrator method name. */
|
||||||
|
private static final String METHOD_NAME = "Adams-Bashforth";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build an Adams-Bashforth integrator with the given order and step control parameters.
|
* Build an Adams-Bashforth integrator with the given order and step control parameters.
|
||||||
* @param nSteps number of steps of the method excluding the one being computed
|
* @param nSteps number of steps of the method excluding the one being computed
|
||||||
|
@ -156,7 +159,7 @@ public class AdamsBashforthIntegrator extends AdamsIntegrator {
|
||||||
final double scalAbsoluteTolerance,
|
final double scalAbsoluteTolerance,
|
||||||
final double scalRelativeTolerance)
|
final double scalRelativeTolerance)
|
||||||
throws IllegalArgumentException {
|
throws IllegalArgumentException {
|
||||||
super("Adams-Bashforth", nSteps, nSteps, minStep, maxStep,
|
super(METHOD_NAME, nSteps, nSteps, minStep, maxStep,
|
||||||
scalAbsoluteTolerance, scalRelativeTolerance);
|
scalAbsoluteTolerance, scalRelativeTolerance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -176,7 +179,7 @@ public class AdamsBashforthIntegrator extends AdamsIntegrator {
|
||||||
final double[] vecAbsoluteTolerance,
|
final double[] vecAbsoluteTolerance,
|
||||||
final double[] vecRelativeTolerance)
|
final double[] vecRelativeTolerance)
|
||||||
throws IllegalArgumentException {
|
throws IllegalArgumentException {
|
||||||
super("Adams-Bashforth", nSteps, nSteps, minStep, maxStep,
|
super(METHOD_NAME, nSteps, nSteps, minStep, maxStep,
|
||||||
vecAbsoluteTolerance, vecRelativeTolerance);
|
vecAbsoluteTolerance, vecRelativeTolerance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -157,6 +157,9 @@ import org.apache.commons.math.ode.sampling.StepHandler;
|
||||||
*/
|
*/
|
||||||
public class AdamsMoultonIntegrator extends AdamsIntegrator {
|
public class AdamsMoultonIntegrator extends AdamsIntegrator {
|
||||||
|
|
||||||
|
/** Integrator method name. */
|
||||||
|
private static final String METHOD_NAME = "Adams-Moulton";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build an Adams-Moulton integrator with the given order and error control parameters.
|
* Build an Adams-Moulton integrator with the given order and error control parameters.
|
||||||
* @param nSteps number of steps of the method excluding the one being computed
|
* @param nSteps number of steps of the method excluding the one being computed
|
||||||
|
@ -173,7 +176,7 @@ public class AdamsMoultonIntegrator extends AdamsIntegrator {
|
||||||
final double scalAbsoluteTolerance,
|
final double scalAbsoluteTolerance,
|
||||||
final double scalRelativeTolerance)
|
final double scalRelativeTolerance)
|
||||||
throws IllegalArgumentException {
|
throws IllegalArgumentException {
|
||||||
super("Adams-Moulton", nSteps, nSteps + 1, minStep, maxStep,
|
super(METHOD_NAME, nSteps, nSteps + 1, minStep, maxStep,
|
||||||
scalAbsoluteTolerance, scalRelativeTolerance);
|
scalAbsoluteTolerance, scalRelativeTolerance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -193,7 +196,7 @@ public class AdamsMoultonIntegrator extends AdamsIntegrator {
|
||||||
final double[] vecAbsoluteTolerance,
|
final double[] vecAbsoluteTolerance,
|
||||||
final double[] vecRelativeTolerance)
|
final double[] vecRelativeTolerance)
|
||||||
throws IllegalArgumentException {
|
throws IllegalArgumentException {
|
||||||
super("Adams-Moulton", nSteps, nSteps + 1, minStep, maxStep,
|
super(METHOD_NAME, nSteps, nSteps + 1, minStep, maxStep,
|
||||||
vecAbsoluteTolerance, vecRelativeTolerance);
|
vecAbsoluteTolerance, vecRelativeTolerance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue