Struct ode_solvers::rk4::Rk4 [−][src]
pub struct Rk4<V, F> where
F: System<V>, { /* fields omitted */ }
Expand description
Structure containing the parameters for the numerical integration.
Implementations
Default initializer for the structure
Arguments
f
- Structure implementing the Systemtrait x
- Initial value of the independent variable (usually time)y
- Initial value of the dependent variable(s)x_end
- Final value of the independent variablestep_size
- Step size used in the method
Core integration method.
Auto Trait Implementations
impl<V, F> RefUnwindSafe for Rk4<V, F> where
F: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, F> UnwindSafe for Rk4<V, F> where
F: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.