Skip to main content

dot_i16

Function dot_i16 

Source
pub fn dot_i16(a: &[i16], b: &[i16]) -> i64
Expand description

Dot product of two Q15 vectors.

Each multiplication is in 2.30 format and accumulated into a 64-bit sum. The returned value matches CMSIS 34.30 accumulator semantics.