Skip to main content

dot_product

Function dot_product 

Source
pub unsafe fn dot_product(a_0: f64, a_1: f64, b_0: f64, b_1: f64) -> f64
Expand description

2D vector double dot product function: a . b.

  • a_0, a_1 the first vector values.

  • b_0, b_1 the second vector values.

  • returns the 2D dot product of the vector double values.

ยงSafety

Requires SIMD Extensions SSE4.2 on the target processor.