类 EulerFieldIntegrator<T extends CalculusFieldElement<T>>

类型参数:
T - 字段元素的类型
所有已实现的接口:
FieldODEIntegrator<T>, FieldButcherArrayProvider<T>

public class EulerFieldIntegrator<T extends CalculusFieldElement<T>> extends RungeKuttaFieldIntegrator<T>
该类实现了普通微分方程的简单欧拉积分器。

欧拉算法是用于积分普通微分方程的最简单算法。它是正向差分表达式的简单反演:f'=(f(t+h)-f(t))/h,导致f(t+h)=f(t)+hf'。用于稠密输出的插值方案是线性方案,已用于积分。

这个算法看起来很便宜,因为每步只需要一个函数评估。然而,由于它使用线性估计,它需要非常小的步长才能达到高精度,而小步长会导致数值误差和不稳定性。

这个算法几乎从不被使用,并且仅作为更有用的积分器的比较参考而包含在此包中。

另请参阅:
  • 构造器详细资料

    • EulerFieldIntegrator

      public EulerFieldIntegrator(Field<T> field, T step)
      简单构造函数。使用给定的步长构建一个欧拉积分器。
      参数:
      field - 时间和状态向量元素所属的字段
      step - 积分步长
  • 方法详细资料

    • getC

      public T[] getC()
      从Butcher数组获取时间步长(不包括第一个零)。
      返回:
      从Butcher数组获取时间步长(不包括第一个零)
    • getA

      public T[][] getA()
      从Butcher数组获取内部权重(不包括第一行空行)。
      返回:
      从Butcher数组获取内部权重(不包括第一行空行)
    • getB

      public T[] getB()
      从Butcher数组获取高阶方法的外部权重。
      返回:
      从Butcher数组获取高阶方法的外部权重
    • createInterpolator

      protected org.hipparchus.ode.nonstiff.EulerFieldStateInterpolator<T> createInterpolator(boolean forward, T[][] yDotK, FieldODEStateAndDerivative<T> globalPreviousState, FieldODEStateAndDerivative<T> globalCurrentState, FieldEquationsMapper<T> mapper)
      创建一个插值器。
      指定者:
      createInterpolator 在类中 RungeKuttaFieldIntegrator<T extends CalculusFieldElement<T>>
      参数:
      forward - 积分方向指示器
      yDotK - 中间点的斜率
      globalPreviousState - 全局步骤的起始点
      globalCurrentState - 全局步骤的结束点
      mapper - 所有方程的方程映射器
      返回:
      从Butcher数组获取高阶方法的外部权重