I'm working on the STM32L476RG and I'm looking to perform some matrix operations on the controller, using C and CMSIS-DSP for ARM.
I have 2 uint16_t arrays which I will be converting to matrices and feeding in to the matrix multiplication. My problem is that I need the output to be another uint16_t array, so I need a way to either convert the entire matrix to an array of the same dimensions, or a (heavier) way to access every individual element in the output matrix and typecast them into an array like
array[x][y] = (uint16_t)output[x][y]
Can someone guide me through this, or is there a better way to tackle the problem?