Skip to main content

perp_product

Function perp_product 

Source
pub fn perp_product<T: Float>(a_0: T, a_1: T, b_0: T, b_1: T) -> T
Expand description

2D vector perp product function: a x b.

  • a_0, a_1 the first vector values.

  • b_0, b_1 the second vector values.

  • returns the perp product of the 2D vectors.