[][src]Struct freude::RungeKutta4

pub struct RungeKutta4<T: Debug> { /* fields omitted */ }

Methods

impl<T> RungeKutta4<T> where
    T: Clone + Debug
[src]

pub fn new(state: &T, dt: f64) -> Self[src]

Trait Implementations

impl Stepper for RungeKutta4<f64>[src]

type State = f64

fn integrate_n_steps<Sy>(
    &mut self,
    system: &mut Sy,
    state: &mut Self::State,
    n: usize
) -> f64 where
    Sy: Ode<State = Self::State>, 
[src]

fn integrate_time<Sy>(
    &mut self,
    system: &mut Sy,
    state: &mut Self::State,
    t: f64
) -> (f64, usize) where
    Sy: Ode<State = Self::State>, 
[src]

impl<D, P: ZipMarker> Stepper for RungeKutta4<P> where
    P: Clone + Debug,
    D: Dimension,
    &'a P: IntoNdProducer<Dim = D, Item = &'a f64>,
    &'a mut P: IntoNdProducer<Dim = D, Item = &'a mut f64>, 
[src]

type State = P

fn integrate_n_steps<Sy>(
    &mut self,
    system: &mut Sy,
    state: &mut Self::State,
    n: usize
) -> f64 where
    Sy: Ode<State = Self::State>, 
[src]

fn integrate_time<Sy>(
    &mut self,
    system: &mut Sy,
    state: &mut Self::State,
    t: f64
) -> (f64, usize) where
    Sy: Ode<State = Self::State>, 
[src]

impl<T: Debug> Debug for RungeKutta4<T>[src]

Auto Trait Implementations

impl<T> Send for RungeKutta4<T> where
    T: Send

impl<T> Unpin for RungeKutta4<T> where
    T: Unpin

impl<T> Sync for RungeKutta4<T> where
    T: Sync

impl<T> UnwindSafe for RungeKutta4<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for RungeKutta4<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]