pub struct MultiToneStudy { /* private fields */ }Expand description
A non-empty set of certified tones sharing one exact physical plane.
Implementations§
Source§impl MultiToneStudy
impl MultiToneStudy
Sourcepub fn new(tones: Vec<ToneStudy>) -> Result<Self, MultiToneError>
pub fn new(tones: Vec<ToneStudy>) -> Result<Self, MultiToneError>
Validates independently certified tones for cellwise composition.
Geometry equality is exact: even equal dimensions are insufficient when origins, axes, extents, or therefore physical sample centres differ.
Sourcepub fn plane(&self) -> SamplingPlane
pub fn plane(&self) -> SamplingPlane
Returns the exact physical plane shared by every component.
Sourcepub fn sampling_requirements(&self) -> MultiToneSamplingRequirements
pub fn sampling_requirements(&self) -> MultiToneSamplingRequirements
Returns requirements derived from the highest component frequency.
Sourcepub fn combine(
&self,
combination: ToneCombination,
) -> Result<MultiToneProjection, MultiToneError>
pub fn combine( &self, combination: ToneCombination, ) -> Result<MultiToneProjection, MultiToneError>
Combines independently solved tones only after projecting each one to a real scalar at the requested shared time or detection rule.
This method never constructs or adds cross-frequency complex values. Tones are traversed in canonical ascending-frequency order and their scalar contributions are accumulated with Neumaier compensation.
Trait Implementations§
Source§impl Clone for MultiToneStudy
impl Clone for MultiToneStudy
Source§fn clone(&self) -> MultiToneStudy
fn clone(&self) -> MultiToneStudy
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 moreSource§impl Debug for MultiToneStudy
impl Debug for MultiToneStudy
Source§impl PartialEq for MultiToneStudy
impl PartialEq for MultiToneStudy
impl StructuralPartialEq for MultiToneStudy
Auto Trait Implementations§
impl Freeze for MultiToneStudy
impl RefUnwindSafe for MultiToneStudy
impl Send for MultiToneStudy
impl Sync for MultiToneStudy
impl Unpin for MultiToneStudy
impl UnsafeUnpin for MultiToneStudy
impl UnwindSafe for MultiToneStudy
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