Function geo_nd::matrix::reduce

source ·
pub fn reduce<V: Num, const RC: usize>(m: [V; RC], s: V) -> [V; RC]
Expand description

Consume the vector and return a new vector that is the original reduces in scale in each coordinate by a single scaling factor