Struct TapeHeadVoltageRoot
pub struct TapeHeadVoltageRoot {
pub last_iters: usize,
/* private fields */
}Fields§
§last_iters: usizeImplementations§
§impl TapeHeadVoltageRoot
impl TapeHeadVoltageRoot
pub fn new( model: JaCoreModel, kv: f64, isat: f64, gp: f64, h_bias: f64, ) -> TapeHeadVoltageRoot
pub fn prepare(&mut self, sample_rate: f64, port_resistance: f64)
pub fn reset(&mut self)
pub fn port_resistance(&self) -> f64
pub fn model(&self) -> JaCoreModel
pub fn magnetization(&self) -> f64
pub fn process(&mut self, a: f64) -> f64
Trait Implementations§
§impl Clone for TapeHeadVoltageRoot
impl Clone for TapeHeadVoltageRoot
§fn clone(&self) -> TapeHeadVoltageRoot
fn clone(&self) -> TapeHeadVoltageRoot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TapeHeadVoltageRoot
impl RefUnwindSafe for TapeHeadVoltageRoot
impl Send for TapeHeadVoltageRoot
impl Sync for TapeHeadVoltageRoot
impl Unpin for TapeHeadVoltageRoot
impl UnsafeUnpin for TapeHeadVoltageRoot
impl UnwindSafe for TapeHeadVoltageRoot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more