#[non_exhaustive]pub enum VecNorm {
Max,
Euclidean,
}Expand description
How the error of a vector of integrals is measured.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Max
The largest absolute component (SciPy’s 'max').
Euclidean
The Euclidean norm (SciPy’s default, '2').
Trait Implementations§
impl Copy for VecNorm
impl Eq for VecNorm
impl StructuralPartialEq for VecNorm
Auto Trait Implementations§
impl Freeze for VecNorm
impl RefUnwindSafe for VecNorm
impl Send for VecNorm
impl Sync for VecNorm
impl Unpin for VecNorm
impl UnsafeUnpin for VecNorm
impl UnwindSafe for VecNorm
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