pub trait FdeSystem<S: Scalar> {
// Required methods
fn dim(&self) -> usize;
fn alpha(&self) -> S;
fn rhs(&self, t: S, y: &[S], f: &mut [S]);
// Provided method
fn is_valid_order(&self) -> bool { ... }
}Expand description
Trait for fractional differential equation systems.
Defines an FDE of the form:
D^α y(t) = f(t, y), y(0) = y₀where D^α is the Caputo fractional derivative of order α.
Required Methods§
Provided Methods§
Sourcefn is_valid_order(&self) -> bool
fn is_valid_order(&self) -> bool
Check if the order is valid (0 < α ≤ 1).