ndarray_linalg::norm

Function normalize

source
pub fn normalize<A, S>(
    m: ArrayBase<S, Ix2>,
    axis: NormalizeAxis,
) -> (ArrayBase<S, Ix2>, Vec<A::Real>)
where A: Scalar + Lapack, S: DataMut<Elem = A>,
Expand description

normalize in L2 norm