pub struct FastL2Norm;Expand description
Evaluate the L2 norm of the argument.
§Implementation
The implementations behind this method use a naive approach to computing the norm. This is faster but less accurate than more precise methods.
Trait Implementations§
Source§impl Clone for FastL2Norm
impl Clone for FastL2Norm
Source§fn clone(&self) -> FastL2Norm
fn clone(&self) -> FastL2Norm
Returns a duplicate of the value. Read more
1.0.0 · 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 FastL2Norm
impl Debug for FastL2Norm
Source§impl<T> Norm<T> for FastL2Norm
impl<T> Norm<T> for FastL2Norm
Source§impl<A, T> Target1<A, f32, T> for FastL2Norm
impl<A, T> Target1<A, f32, T> for FastL2Norm
impl Copy for FastL2Norm
Auto Trait Implementations§
impl Freeze for FastL2Norm
impl RefUnwindSafe for FastL2Norm
impl Send for FastL2Norm
impl Sync for FastL2Norm
impl Unpin for FastL2Norm
impl UnwindSafe for FastL2Norm
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