pub enum Norm {
One,
Two,
Infinity,
Frobenius,
Max,
Nuclear,
}Expand description
A matrix norm, for Matrix::norm and Matrix::cond.
Variants§
One
The largest sum of the absolute values in a column.
Two
The spectral norm, the largest singular value.
Infinity
The largest sum of the absolute values in a row.
Frobenius
Frobenius’s, the square root of the sum of the squares of the absolute values.
Max
The largest absolute value of an element; not submultiplicative.
Nuclear
The nuclear norm, the sum of the singular values.
Trait Implementations§
impl Copy for Norm
impl Eq for Norm
impl StructuralPartialEq for Norm
Auto Trait Implementations§
impl Freeze for Norm
impl RefUnwindSafe for Norm
impl Send for Norm
impl Sync for Norm
impl Unpin for Norm
impl UnsafeUnpin 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