removed tabs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791723 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
71f41f90fe
commit
f0ad546c7f
|
@ -88,7 +88,7 @@ public class NordsieckStepInterpolator extends AbstractStepInterpolator {
|
||||||
nordsieck = new Array2DRowRealMatrix(interpolator.nordsieck.getDataRef(), true);
|
nordsieck = new Array2DRowRealMatrix(interpolator.nordsieck.getDataRef(), true);
|
||||||
}
|
}
|
||||||
if (interpolator.stateVariation != null) {
|
if (interpolator.stateVariation != null) {
|
||||||
stateVariation = interpolator.stateVariation.clone();
|
stateVariation = interpolator.stateVariation.clone();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -174,10 +174,10 @@ public class NordsieckStepInterpolator extends AbstractStepInterpolator {
|
||||||
*/
|
*/
|
||||||
public double[] getInterpolatedStateVariation()
|
public double[] getInterpolatedStateVariation()
|
||||||
throws DerivativeException {
|
throws DerivativeException {
|
||||||
// compute and ignore interpolated state
|
// compute and ignore interpolated state
|
||||||
// to make sure state variation is computed as a side effect
|
// to make sure state variation is computed as a side effect
|
||||||
getInterpolatedState();
|
getInterpolatedState();
|
||||||
return stateVariation;
|
return stateVariation;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
@ -205,8 +205,8 @@ public class NordsieckStepInterpolator extends AbstractStepInterpolator {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int j = 0; j < currentState.length; ++j) {
|
for (int j = 0; j < currentState.length; ++j) {
|
||||||
stateVariation[j] += scaled[j] * normalizedAbscissa;
|
stateVariation[j] += scaled[j] * normalizedAbscissa;
|
||||||
interpolatedState[j] = currentState[j] + stateVariation[j];
|
interpolatedState[j] = currentState[j] + stateVariation[j];
|
||||||
interpolatedDerivatives[j] =
|
interpolatedDerivatives[j] =
|
||||||
(interpolatedDerivatives[j] + scaled[j] * normalizedAbscissa) / x;
|
(interpolatedDerivatives[j] + scaled[j] * normalizedAbscissa) / x;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue