pub trait IdeSystem<S: Scalar> {
// Required methods
fn dim(&self) -> usize;
fn rhs(&self, t: S, y: &[S], f: &mut [S]);
fn kernel(&self, t: S, s: S, y_s: &[S], k: &mut [S]);
// Provided method
fn is_convolution_kernel(&self) -> bool { ... }
}Expand description
Trait for integro-differential equation systems.
Defines a Volterra IDE of the form:
y'(t) = f(t, y) + ∫₀ᵗ K(t, s, y(s)) ds, y(0) = y₀Required Methods§
Provided Methods§
Sourcefn is_convolution_kernel(&self) -> bool
fn is_convolution_kernel(&self) -> bool
Whether the kernel depends only on (t-s), not t and s separately.
Convolution kernels K(t-s) can be computed more efficiently.