CMSIS DSP Library from CMSIS 2.0. See http://www.onarm.com/cmsis/ for full details
Dependents: K22F_DSP_Matrix_least_square BNO055-ELEC3810 1BNO055 ECE4180Project--Slave2 ... more
Matrix Initialization
[Matrix Functions]
Initializes the underlying matrix data structure. More...
Functions | |
void | arm_mat_init_f32 (arm_matrix_instance_f32 *S, uint16_t nRows, uint16_t nColumns, float32_t *pData) |
Floating-point matrix initialization. | |
void | arm_mat_init_q15 (arm_matrix_instance_q15 *S, uint16_t nRows, uint16_t nColumns, q15_t *pData) |
Q15 matrix initialization. | |
void | arm_mat_init_q31 (arm_matrix_instance_q31 *S, uint16_t nRows, uint16_t nColumns, q31_t *pData) |
Q31 matrix initialization. |
Detailed Description
Initializes the underlying matrix data structure.
The functions set the numRows
, numCols
, and pData
fields of the matrix data structure.
Function Documentation
void arm_mat_init_f32 | ( | arm_matrix_instance_f32 * | S, |
uint16_t | nRows, | ||
uint16_t | nColumns, | ||
float32_t * | pData | ||
) |
Floating-point matrix initialization.
- Parameters:
-
[in,out] *S points to an instance of the floating-point matrix structure. [in] nRows number of rows in the matrix. [in] nColumns number of columns in the matrix. [in] *pData points to the matrix data array.
- Returns:
- none
Definition at line 62 of file arm_mat_init_f32.c.
void arm_mat_init_q15 | ( | arm_matrix_instance_q15 * | S, |
uint16_t | nRows, | ||
uint16_t | nColumns, | ||
q15_t * | pData | ||
) |
Q15 matrix initialization.
- Parameters:
-
[in,out] *S points to an instance of the floating-point matrix structure. [in] nRows number of rows in the matrix. [in] nColumns number of columns in the matrix. [in] *pData points to the matrix data array.
- Returns:
- none
Definition at line 54 of file arm_mat_init_q15.c.
void arm_mat_init_q31 | ( | arm_matrix_instance_q31 * | S, |
uint16_t | nRows, | ||
uint16_t | nColumns, | ||
q31_t * | pData | ||
) |
Q31 matrix initialization.
- Parameters:
-
[in,out] *S points to an instance of the floating-point matrix structure. [in] nRows number of rows in the matrix. [in] nColumns number of columns in the matrix. [in] *pData points to the matrix data array.
- Returns:
- none
Definition at line 58 of file arm_mat_init_q31.c.
Generated on Tue Jul 12 2022 14:13:56 by 1.7.2