pub struct PrecomputedInterpTable {
pub stage_index: usize,
pub n_ports: usize,
pub has_vs_injection: bool,
pub resistances: Vec<f64>,
pub matrices: Vec<Vec<f64>>,
pub injections: Vec<Vec<f64>>,
}Expand description
Precomputed pot-sweep interpolation table for a single-pot stage.
Fields§
§stage_index: usizeIndex into PrecomputedScattering::stages this table belongs to.
n_ports: usizeNumber of WDF ports.
has_vs_injection: boolWhether VS injection vectors are present.
resistances: Vec<f64>K log-spaced resistance values (ascending).
matrices: Vec<Vec<f64>>K scattering matrices, each n_ports² entries, row-major.
injections: Vec<Vec<f64>>K VS injection vectors, each n_ports entries.
Empty when has_vs_injection is false.
Trait Implementations§
Source§impl Clone for PrecomputedInterpTable
impl Clone for PrecomputedInterpTable
Source§fn clone(&self) -> PrecomputedInterpTable
fn clone(&self) -> PrecomputedInterpTable
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 PrecomputedInterpTable
impl RefUnwindSafe for PrecomputedInterpTable
impl Send for PrecomputedInterpTable
impl Sync for PrecomputedInterpTable
impl Unpin for PrecomputedInterpTable
impl UnsafeUnpin for PrecomputedInterpTable
impl UnwindSafe for PrecomputedInterpTable
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