pub struct ODEExamples;Expand description
Collection of educational ODE examples
Implementations§
Source§impl ODEExamples
impl ODEExamples
Sourcepub fn separable_simple() -> ODEExplanation
pub fn separable_simple() -> ODEExplanation
Sourcepub fn exponential_growth() -> ODEExplanation
pub fn exponential_growth() -> ODEExplanation
Sourcepub fn linear_first_order() -> ODEExplanation
pub fn linear_first_order() -> ODEExplanation
Sourcepub fn product_separable() -> ODEExplanation
pub fn product_separable() -> ODEExplanation
Sourcepub fn initial_value_problem() -> ODEExplanation
pub fn initial_value_problem() -> ODEExplanation
Sourcepub fn all_examples() -> Vec<ODEExplanation>
pub fn all_examples() -> Vec<ODEExplanation>
Get all example explanations
Sourcepub fn get_example(name: &str) -> Option<ODEExplanation>
pub fn get_example(name: &str) -> Option<ODEExplanation>
Get example by name
Sourcepub fn example_names() -> Vec<&'static str>
pub fn example_names() -> Vec<&'static str>
Get list of available example names
Auto Trait Implementations§
impl Freeze for ODEExamples
impl RefUnwindSafe for ODEExamples
impl Send for ODEExamples
impl Sync for ODEExamples
impl Unpin for ODEExamples
impl UnwindSafe for ODEExamples
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more