pub enum SystemType {
Continuous {
ode_coefficients: Vec<Vec<f64>>,
},
Discrete {
map_type: MapType,
},
HamiltonianSystem {
hamiltonian_coeffs: Vec<f64>,
},
}Expand description
Specifies whether a system evolves in continuous or discrete time, or as a Hamiltonian system.
Variants§
Continuous
Continuous-time ODE ẋ = f(x), represented by truncated polynomial coefficients (one row per dimension).
Discrete
Discrete-time map x_{n+1} = F(x_n).
HamiltonianSystem
Hamiltonian system ẋ = ∂H/∂p, ṗ = -∂H/∂q.
Trait Implementations§
Source§impl Clone for SystemType
impl Clone for SystemType
Source§fn clone(&self) -> SystemType
fn clone(&self) -> SystemType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SystemType
impl RefUnwindSafe for SystemType
impl Send for SystemType
impl Sync for SystemType
impl Unpin for SystemType
impl UnsafeUnpin for SystemType
impl UnwindSafe for SystemType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more