pub enum NormAxes {
All,
Vector(i64),
Matrix(i64, i64),
}Expand description
The axes of norm.
Variants§
All
axis=None: all axes (with NormOrd::Default, the 2-norm of the
flattened array of any rank; otherwise a vector or a matrix).
Vector(i64)
One axis: vector norms.
Matrix(i64, i64)
Two axes (rows, columns): matrix norms.
Trait Implementations§
impl Copy for NormAxes
impl Eq for NormAxes
impl StructuralPartialEq for NormAxes
Auto Trait Implementations§
impl Freeze for NormAxes
impl RefUnwindSafe for NormAxes
impl Send for NormAxes
impl Sync for NormAxes
impl Unpin for NormAxes
impl UnsafeUnpin for NormAxes
impl UnwindSafe for NormAxes
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