pub trait PronySystem<S: Scalar> {
// Required methods
fn dim(&self) -> usize;
fn rhs(&self, t: S, y: &[S], f: &mut [S]);
fn kernel(&self) -> &PronyKernel<S>;
// Provided method
fn coupling(&self) -> Option<Vec<Vec<S>>> { ... }
}Expand description
System for Prony solver: y’ = f(t, y) + Σᵢ Iᵢ.
The kernel is implicitly defined by the Prony series.
Required Methods§
Sourcefn kernel(&self) -> &PronyKernel<S>
fn kernel(&self) -> &PronyKernel<S>
Get the Prony kernel for computing memory effects.