int32_t(* scalarproduct_and_madd_int32)(int16_t *v1, const int32_t *v2, const int16_t *v3, int len, int mul)
int32_t(* scalarproduct_and_madd_int16)(int16_t *v1, const int16_t *v2, const int16_t *v3, int len, int mul)
Calculate scalar product of v1 and v2, and v1[i] += v3[i] * mul.