Trait peroxide::numerical::ode::ButcherTableau

source ·
pub trait ButcherTableau {
    const C: &'static [f64];
    const A: &'static [&'static [f64]];
    const BU: &'static [f64];
    const BE: &'static [f64];

    // Provided methods
    fn tol(&self) -> f64 { ... }
    fn safety_factor(&self) -> f64 { ... }
    fn max_step_size(&self) -> f64 { ... }
    fn min_step_size(&self) -> f64 { ... }
    fn max_step_iter(&self) -> usize { ... }
}
Expand description

Trait for Butcher tableau

C | A
- - - 
  | BU (Coefficient for update)
  | BE (Coefficient for estimate error)

§References

  • J. R. Dormand and P. J. Prince, A family of embedded Runge-Kutta formulae, J. Comp. Appl. Math., 6(1), 19-26, 1980.
  • Wikipedia: List of Runge-Kutta methods

Required Associated Constants§

source

const C: &'static [f64]

source

const A: &'static [&'static [f64]]

source

const BU: &'static [f64]

source

const BE: &'static [f64]

Provided Methods§

source

fn tol(&self) -> f64

source

fn safety_factor(&self) -> f64

source

fn max_step_size(&self) -> f64

source

fn min_step_size(&self) -> f64

source

fn max_step_iter(&self) -> usize

Object Safety§

This trait is not object safe.

Implementors§

source§

impl ButcherTableau for BS23

source§

const C: &'static [f64] = _

source§

const A: &'static [&'static [f64]] = _

source§

const BU: &'static [f64] = _

source§

const BE: &'static [f64] = _

source§

impl ButcherTableau for DP45

source§

const C: &'static [f64] = _

source§

const A: &'static [&'static [f64]] = _

source§

const BU: &'static [f64] = _

source§

const BE: &'static [f64] = _

source§

impl ButcherTableau for RALS3

source§

const C: &'static [f64] = _

source§

const A: &'static [&'static [f64]] = _

source§

const BU: &'static [f64] = _

source§

const BE: &'static [f64] = _

source§

impl ButcherTableau for RALS4

source§

const C: &'static [f64] = _

source§

const A: &'static [&'static [f64]] = _

source§

const BU: &'static [f64] = _

source§

const BE: &'static [f64] = _

source§

impl ButcherTableau for RK4

source§

const C: &'static [f64] = _

source§

const A: &'static [&'static [f64]] = _

source§

const BU: &'static [f64] = _

source§

const BE: &'static [f64] = _

source§

impl ButcherTableau for RK5

source§

const C: &'static [f64] = _

source§

const A: &'static [&'static [f64]] = _

source§

const BU: &'static [f64] = _

source§

const BE: &'static [f64] = _

source§

impl ButcherTableau for RKF45

source§

const C: &'static [f64] = _

source§

const A: &'static [&'static [f64]] = _

source§

const BU: &'static [f64] = _

source§

const BE: &'static [f64] = _

source§

impl ButcherTableau for TSIT45

source§

const C: &'static [f64] = _

source§

const A: &'static [&'static [f64]] = _

source§

const BU: &'static [f64] = _

source§

const BE: &'static [f64] = _