Trait NlDeviceIv
pub trait NlDeviceIv {
// Required methods
fn iv(&self, v: f64) -> (f64, f64);
fn v_clamp(&self) -> (f64, f64);
}Expand description
Trait for nonlinear WDF devices that provide their I-V characteristic.
Used by the multi-port Newton-Raphson solver to evaluate the device current and its derivative at a given port voltage.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".