RK4 指“四阶龙格—库塔法”(Runge–Kutta 4th-order method),是一种常用的数值积分/数值求解方法,用来近似求解常微分方程(ODE)的初值问题;在精度与计算量之间较为均衡。(在不同语境中也可能被用作更泛的“Runge–Kutta 方法”的口头简称。)
/ˌɑːr keɪ ˈfɔːr/
I used RK4 to simulate the pendulum’s motion.
我用 RK4 来模拟摆的运动。
To improve stability, the model advances each time step with RK4 and then compares the result against a smaller step size for error control.
为了提高稳定性,模型每个时间步都用 RK4 推进,并把结果与更小步长的计算进行比较以控制误差。
RK 来自两位数学家 Carl Runge 与 Martin Kutta 的姓氏首字母;“4”表示该方法的四阶精度(误差随步长缩小而更快下降),因此常写作 RK4。