"Marx" => "Multiply, Accumulate, recursive, only reload the x vector" sums the products of elements in input vector X and input vector Y (ie, dot product) The y vector must have been pre-loaded using a Mar operation immediately before the 1st Marx.
- Parameters
-
| x_ptr | x vector input. 24bit integers unpacked. |
| out_ptr | output scalar. 32bit integer rounded by rounding_bits. |
| length | Number of elements in the vectors (data samples). Must be a multiple of 4, at least 8, and no greater than 1024. |
| rounding_bits | Number of bits to round the output by. 0 => no rounding, maximum of 31. |
- Returns
- kAxonResultSuccess on success or a negative error code (see nrf_axon_result_e)