Skip to main content

rk4_step_fixed

Function rk4_step_fixed 

Source
pub fn rk4_step_fixed<const N: usize, F>(
    state: &mut [f32; N],
    dt: f32,
    t: f32,
    derivative: F,
)
where F: Fn(&[f32; N], f32) -> [f32; N],