pub enum ScalingStrategy {
LInfNorm,
L2Norm,
Direct,
}Expand description
Gain scaling strategy for biquad SOS fixed-point quantization.
Variants§
LInfNorm
Strict peak-gain scaling: guarantees no overflow for any sinusoidal input.
L2Norm
Energy-based root-mean-square gain scaling.
Direct
Preserves direct coefficient scale (post_shift handles dynamic range).
Trait Implementations§
Source§impl Clone for ScalingStrategy
impl Clone for ScalingStrategy
Source§fn clone(&self) -> ScalingStrategy
fn clone(&self) -> ScalingStrategy
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 moreimpl Copy for ScalingStrategy
Source§impl Debug for ScalingStrategy
impl Debug for ScalingStrategy
impl Eq for ScalingStrategy
Source§impl PartialEq for ScalingStrategy
impl PartialEq for ScalingStrategy
impl StructuralPartialEq for ScalingStrategy
Auto Trait Implementations§
impl Freeze for ScalingStrategy
impl RefUnwindSafe for ScalingStrategy
impl Send for ScalingStrategy
impl Sync for ScalingStrategy
impl Unpin for ScalingStrategy
impl UnsafeUnpin for ScalingStrategy
impl UnwindSafe for ScalingStrategy
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