Function geo_nd::matrix::normalize

source ·
pub fn normalize<V: Float, const RC: usize, const C: usize>(
    m: [V; RC]
) -> [V; RC]
Expand description

Update the new matrix with every element e scaled so that max(abs(e)) is 1.