[−][src]Struct freude::Euler
Methods
impl<T> Euler<T> where
T: Clone + Debug,
[src]
T: Clone + Debug,
Trait Implementations
impl Stepper for Euler<f64>
[src]
type State = f64
fn do_step<Sy>(&mut self, system: &mut Sy, state: &mut Self::State) where
Sy: Ode<State = f64>,
[src]
Sy: Ode<State = f64>,
fn timestep(&self) -> f64
[src]
fn integrate_n_steps<Sy>(
&mut self,
system: &mut Sy,
state: &mut Self::State,
n: usize
) -> f64 where
Sy: Ode<State = Self::State>,
[src]
&mut self,
system: &mut Sy,
state: &mut Self::State,
n: usize
) -> f64 where
Sy: Ode<State = Self::State>,
fn integrate_time<Sy>(
&mut self,
system: &mut Sy,
state: &mut Self::State,
t: f64
) -> (f64, usize) where
Sy: Ode<State = Self::State>,
[src]
&mut self,
system: &mut Sy,
state: &mut Self::State,
t: f64
) -> (f64, usize) where
Sy: Ode<State = Self::State>,
impl<D, P: ZipMarker> Stepper for Euler<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]
P: Clone + Debug,
D: Dimension,
&'a P: IntoNdProducer<Dim = D, Item = &'a f64>,
&'a mut P: IntoNdProducer<Dim = D, Item = &'a mut f64>,
type State = P
fn do_step<Sy>(&mut self, system: &mut Sy, state: &mut Self::State) where
Sy: Ode<State = P>,
[src]
Sy: Ode<State = P>,
fn timestep(&self) -> f64
[src]
fn integrate_n_steps<Sy>(
&mut self,
system: &mut Sy,
state: &mut Self::State,
n: usize
) -> f64 where
Sy: Ode<State = Self::State>,
[src]
&mut self,
system: &mut Sy,
state: &mut Self::State,
n: usize
) -> f64 where
Sy: Ode<State = Self::State>,
fn integrate_time<Sy>(
&mut self,
system: &mut Sy,
state: &mut Self::State,
t: f64
) -> (f64, usize) where
Sy: Ode<State = Self::State>,
[src]
&mut self,
system: &mut Sy,
state: &mut Self::State,
t: f64
) -> (f64, usize) where
Sy: Ode<State = Self::State>,
Auto Trait Implementations
impl<T> Sync for Euler<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Euler<T> where
T: Unpin,
T: Unpin,
impl<T> Send for Euler<T> where
T: Send,
T: Send,
impl<T> RefUnwindSafe for Euler<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> UnwindSafe for Euler<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,