This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Are matrix operations for CMSIS-DSP in-place?

I am looking through the documentation on the CMSIS-DSP math library, and more specifically the matrix related functions (https://arm-software.github.io/CMSIS_5/DSP/html/group__groupMatrix.html). I was wondering if some operations, like addition and multiplication, are in-place, meaning you would be able to do something like the following:

arm_matrix_instance_f32 A;
arm_matrix_instance_f32 B;

// (assume A and B have been initialized accordingly)
arm_mat_add_f32(&A, &B, &A);

Which would basically be passing the same matrix for a source parameter and destination parameter. I couldn't find any information about whether this is allowed in the documentation, but any help in this regard would be greatly appreciated. Thank you!