pub struct FastL2NormSquared;Expand description
Evaluate the square of 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 FastL2NormSquared
impl Clone for FastL2NormSquared
Source§fn clone(&self) -> FastL2NormSquared
fn clone(&self) -> FastL2NormSquared
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 FastL2NormSquared
impl Debug for FastL2NormSquared
Source§impl<T, To> Norm<T, To> for FastL2NormSquared
impl<T, To> Norm<T, To> for FastL2NormSquared
Source§impl<A, T, To> Target1<A, To, T> for FastL2NormSquared
impl<A, T, To> Target1<A, To, T> for FastL2NormSquared
impl Copy for FastL2NormSquared
Auto Trait Implementations§
impl Freeze for FastL2NormSquared
impl RefUnwindSafe for FastL2NormSquared
impl Send for FastL2NormSquared
impl Sync for FastL2NormSquared
impl Unpin for FastL2NormSquared
impl UnwindSafe for FastL2NormSquared
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