Adds two matrices.
Addition of two 3 x 3 matrices
The functions check to make sure that pSrcA
, pSrcB
, and pDst
have the same number of rows and columns.
- Parameters
-
[in] | pSrcA | points to first input matrix structure |
[in] | pSrcB | points to second input matrix structure |
[out] | pDst | points to output matrix structure |
- Returns
- execution status
- Parameters
-
[in] | pSrcA | points to first input matrix structure |
[in] | pSrcB | points to second input matrix structure |
[out] | pDst | points to output matrix structure |
- Returns
- execution status
- Scaling and Overflow Behavior
- The function uses saturating arithmetic. Results outside of the allowable Q15 range [0x8000 0x7FFF] are saturated.
- Parameters
-
[in] | pSrcA | points to first input matrix structure |
[in] | pSrcB | points to second input matrix structure |
[out] | pDst | points to output matrix structure |
- Returns
- execution status
- Scaling and Overflow Behavior
- The function uses saturating arithmetic. Results outside of the allowable Q31 range [0x80000000 0x7FFFFFFF] are saturated.