"exp"=> "exponent" (e to the x) Calculates the exponent of vector input, output=exp(input). Input and output are both interpreted as q11.12. If the input radix isn't 11.12, there is no analogous way to logn() to correct the output. (ie, one can't add or multiple by an offset to correct the result). The effective input range (without saturation) is -8.3 to 7.46
- Parameters
-
| input | pointer to the input, q11.12 sign-extended to 32bits. |
| input_length | length of the input (in elements). Must be a multiple of 2, at least 2, and maximum of 512. |
| output | pointer to the output, q11.12 sign-extended to 32bits. Output can overlap/overwrite input. |
| cmd_buf_info_ptr | compiled axon code is appended into this structure. |
- Returns
- kAxonResultSuccess on success or a negative error code (see nrf_axon_result_e)