/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
D | DormandPrince853StepInterpolator.java | 284 final double[] y, final double[][] yDotK, final boolean forward) { in reinitialize() argument 286 super.reinitialize(integrator, y, yDotK, forward); in reinitialize() 331 final double yDot1 = yDotK[0][i]; in computeInterpolatedStateAndDerivatives() 332 final double yDot6 = yDotK[5][i]; in computeInterpolatedStateAndDerivatives() 333 final double yDot7 = yDotK[6][i]; in computeInterpolatedStateAndDerivatives() 334 final double yDot8 = yDotK[7][i]; in computeInterpolatedStateAndDerivatives() 335 final double yDot9 = yDotK[8][i]; in computeInterpolatedStateAndDerivatives() 336 final double yDot10 = yDotK[9][i]; in computeInterpolatedStateAndDerivatives() 337 final double yDot11 = yDotK[10][i]; in computeInterpolatedStateAndDerivatives() 338 final double yDot12 = yDotK[11][i]; in computeInterpolatedStateAndDerivatives() [all …]
|
D | RungeKuttaStepInterpolator.java | 41 protected double[][] yDotK; field in RungeKuttaStepInterpolator 58 yDotK = null; in RungeKuttaStepInterpolator() 86 yDotK = new double[interpolator.yDotK.length][]; in RungeKuttaStepInterpolator() 87 for (int k = 0; k < interpolator.yDotK.length; ++k) { in RungeKuttaStepInterpolator() 88 yDotK[k] = new double[dimension]; in RungeKuttaStepInterpolator() 89 System.arraycopy(interpolator.yDotK[k], 0, in RungeKuttaStepInterpolator() 90 yDotK[k], 0, dimension); in RungeKuttaStepInterpolator() 94 yDotK = null; in RungeKuttaStepInterpolator() 127 this.yDotK = yDotArray; in reinitialize() 141 final int kMax = (yDotK == null) ? -1 : yDotK.length; in writeExternal() [all …]
|
D | DormandPrince853Integrator.java | 248 protected double estimateError(final double[][] yDotK, in estimateError() argument 255 final double errSum1 = E1_01 * yDotK[0][j] + E1_06 * yDotK[5][j] + in estimateError() 256 E1_07 * yDotK[6][j] + E1_08 * yDotK[7][j] + in estimateError() 257 E1_09 * yDotK[8][j] + E1_10 * yDotK[9][j] + in estimateError() 258 E1_11 * yDotK[10][j] + E1_12 * yDotK[11][j]; in estimateError() 259 final double errSum2 = E2_01 * yDotK[0][j] + E2_06 * yDotK[5][j] + in estimateError() 260 E2_07 * yDotK[6][j] + E2_08 * yDotK[7][j] + in estimateError() 261 E2_09 * yDotK[8][j] + E2_10 * yDotK[9][j] + in estimateError() 262 E2_11 * yDotK[10][j] + E2_12 * yDotK[11][j]; in estimateError()
|
D | EmbeddedRungeKuttaIntegrator.java | 207 final double[][] yDotK = new double[stages][y0.length]; in integrate() local 215 rki.reinitialize(this, yTmp, yDotK, forward); in integrate() 218 interpolator = new DummyStepInterpolator(yTmp, yDotK[stages - 1], forward); in integrate() 243 computeDerivatives(stepStart, y, yDotK[0]); in integrate() 258 stepStart, y, yDotK[0], yTmp, yDotK[1]); in integrate() 268 double sum = a[k-1][0] * yDotK[0][j]; in integrate() 270 sum += a[k-1][l] * yDotK[l][j]; in integrate() 275 computeDerivatives(stepStart + c[k-1] * stepSize, yTmp, yDotK[k]); in integrate() 281 double sum = b[0] * yDotK[0][j]; in integrate() 283 sum += b[l] * yDotK[l][j]; in integrate() [all …]
|
D | RungeKuttaIntegrator.java | 110 final double[][] yDotK = new double[stages][]; in integrate() local 112 yDotK [i] = new double[y0.length]; in integrate() 121 rki.reinitialize(this, yTmp, yDotK, forward); in integrate() 124 interpolator = new DummyStepInterpolator(yTmp, yDotK[stages - 1], forward); in integrate() 143 computeDerivatives(stepStart, y, yDotK[0]); in integrate() 149 double sum = a[k-1][0] * yDotK[0][j]; in integrate() 151 sum += a[k-1][l] * yDotK[l][j]; in integrate() 156 computeDerivatives(stepStart + c[k-1] * stepSize, yTmp, yDotK[k]); in integrate() 162 double sum = b[0] * yDotK[0][j]; in integrate() 164 sum += b[l] * yDotK[l][j]; in integrate() [all …]
|
D | DormandPrince54Integrator.java | 134 protected double estimateError(final double[][] yDotK, in estimateError() argument 141 final double errSum = E1 * yDotK[0][j] + E3 * yDotK[2][j] + in estimateError() 142 E4 * yDotK[3][j] + E5 * yDotK[4][j] + in estimateError() 143 E6 * yDotK[5][j] + E7 * yDotK[6][j]; in estimateError()
|
D | DormandPrince54StepInterpolator.java | 149 final double[] y, final double[][] yDotK, final boolean forward) { in reinitialize() argument 150 super.reinitialize(integrator, y, yDotK, forward); in reinitialize() 184 final double yDot0 = yDotK[0][i]; in computeInterpolatedStateAndDerivatives() 185 final double yDot2 = yDotK[2][i]; in computeInterpolatedStateAndDerivatives() 186 final double yDot3 = yDotK[3][i]; in computeInterpolatedStateAndDerivatives() 187 final double yDot4 = yDotK[4][i]; in computeInterpolatedStateAndDerivatives() 188 final double yDot5 = yDotK[5][i]; in computeInterpolatedStateAndDerivatives() 189 final double yDot6 = yDotK[6][i]; in computeInterpolatedStateAndDerivatives()
|
D | HighamHall54StepInterpolator.java | 90 final double yDot0 = yDotK[0][i]; in computeInterpolatedStateAndDerivatives() 91 final double yDot2 = yDotK[2][i]; in computeInterpolatedStateAndDerivatives() 92 final double yDot3 = yDotK[3][i]; in computeInterpolatedStateAndDerivatives() 93 final double yDot4 = yDotK[4][i]; in computeInterpolatedStateAndDerivatives() 94 final double yDot5 = yDotK[5][i]; in computeInterpolatedStateAndDerivatives()
|
D | ClassicalRungeKuttaStepInterpolator.java | 99 final double yDot1 = yDotK[0][i]; in computeInterpolatedStateAndDerivatives() 100 final double yDot23 = yDotK[1][i] + yDotK[2][i]; in computeInterpolatedStateAndDerivatives() 101 final double yDot4 = yDotK[3][i]; in computeInterpolatedStateAndDerivatives()
|
D | ThreeEighthesStepInterpolator.java | 103 final double yDot1 = yDotK[0][i]; in computeInterpolatedStateAndDerivatives() 104 final double yDot2 = yDotK[1][i]; in computeInterpolatedStateAndDerivatives() 105 final double yDot3 = yDotK[2][i]; in computeInterpolatedStateAndDerivatives() 106 final double yDot4 = yDotK[3][i]; in computeInterpolatedStateAndDerivatives()
|
D | GillStepInterpolator.java | 113 final double yDot1 = yDotK[0][i]; in computeInterpolatedStateAndDerivatives() 114 final double yDot2 = yDotK[1][i]; in computeInterpolatedStateAndDerivatives() 115 final double yDot3 = yDotK[2][i]; in computeInterpolatedStateAndDerivatives() 116 final double yDot4 = yDotK[3][i]; in computeInterpolatedStateAndDerivatives()
|
D | HighamHall54Integrator.java | 107 protected double estimateError(final double[][] yDotK, in estimateError() argument 114 double errSum = STATIC_E[0] * yDotK[0][j]; in estimateError() 116 errSum += STATIC_E[l] * yDotK[l][j]; in estimateError()
|
D | EulerStepInterpolator.java | 85 interpolatedState[i] = currentState[i] - oneMinusThetaH * yDotK[0][i]; in computeInterpolatedStateAndDerivatives() 87 System.arraycopy(yDotK[0], 0, interpolatedDerivatives, 0, interpolatedDerivatives.length); in computeInterpolatedStateAndDerivatives()
|
D | MidpointStepInterpolator.java | 92 final double yDot1 = yDotK[0][i]; in computeInterpolatedStateAndDerivatives() 93 final double yDot2 = yDotK[1][i]; in computeInterpolatedStateAndDerivatives()
|