Function geo_nd::vector::sub

source ·
pub fn sub<V: Num, const D: usize>(v: [V; D], other: &[V; D], scale: V) -> [V; D]
Expand description

Consume the vector, and return a new vector that is the sum of this and a borrowed other vector scaled