pub struct L1Norm;Expand description
Evaluate the L1 norm of the argument.
§Implementation
This implementation uses the SIMD-optimized L1Norm from distance::simd.
§================================================================================================== NOTE: L1Norm IS A LOGICAL UNARY OPERATION
§Although wired through the generic binary ‘SIMDSchema’/‘simd_op’ infrastructure (which expects two input slices of equal length), ‘L1Norm’ conceptually computes: sum_i |x_i| The right-hand operand is completely ignored and exists ONLY to satisfy the shared execution machinery (loop tiling, epilogue handling, etc.).
Trait Implementations§
impl Copy for L1Norm
Auto Trait Implementations§
impl Freeze for L1Norm
impl RefUnwindSafe for L1Norm
impl Send for L1Norm
impl Sync for L1Norm
impl Unpin for L1Norm
impl UnsafeUnpin for L1Norm
impl UnwindSafe for L1Norm
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