pub enum Norm {
L1,
L2,
Lp(f64),
LInf,
F,
Lpq(f64, f64),
}
Expand description
Kinds of Vector & Matrix norm
Kinds of Vector norm
l1
l2
lp
lInf
Kinds of Matrix norm
F
: Frobenius normlpq
: Element-wise pq norm
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Norm
impl Send for Norm
impl Sync for Norm
impl Unpin for Norm
impl UnwindSafe for Norm
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