Skip to main content

vector_triple

Function vector_triple 

Source
pub fn vector_triple<T: Number + SignedNumber, V: Triple<T>>(
    a: V,
    b: V,
    c: V,
) -> V
Expand description

returns the vector triple product of a x b x c, mainly used for 3D vectors, but with a 2D specialisation leveraging z-up