Enum wee_matrix::Norm
[−]
[src]
pub enum Norm { L1, L2, L2Sqrd, Inf, NegInf, P(f64), }
Valid vector norm types
Variants
L1
L1 (absolute value) norm
L2
L2 (Euclidean) norm
L2Sqrd
L2 norm, squared (to avoid potentially expensive square root operations)
Inf
Ininity (maximum) norm
NegInf
Negative infinity (minimum) norm
P(f64)
General p-norm with specified coefficient
Trait Implementations
impl Debug for Norm
[src]
impl Clone for Norm
[src]
fn clone(&self) -> Norm
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more