Function ndarray_linalg::norm::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