Trait State
pub trait State {
// Required method
fn add_bolus(&mut self, input: usize, amount: f64);
}
Expand description
Trait for state vectors that can receive bolus doses.
Required Methods§
Implementations on Foreign Types§
§impl State for Vec<Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>>
State trait implementation for particle-based SDE simulation.
impl State for Vec<Matrix<f64, Dyn, Const<1>, VecStorage<f64, Dyn, Const<1>>>>
State trait implementation for particle-based SDE simulation.
This implementation allows adding bolus doses to all particles in the system.