CMSIS-DSP
Version 1.5.1
CMSIS DSP Software Library
|
Functions | |
void | arm_mat_init_f32 (arm_matrix_instance_f32 *S, uint16_t nRows, uint16_t nColumns, float32_t *pData) |
Floating-point matrix initialization. More... | |
void | arm_mat_init_q15 (arm_matrix_instance_q15 *S, uint16_t nRows, uint16_t nColumns, q15_t *pData) |
Q15 matrix initialization. More... | |
void | arm_mat_init_q31 (arm_matrix_instance_q31 *S, uint16_t nRows, uint16_t nColumns, q31_t *pData) |
Q31 matrix initialization. More... | |
Initializes the underlying matrix data structure. The functions set the numRows
, numCols
, and pData
fields of the matrix data structure.
void arm_mat_init_f32 | ( | arm_matrix_instance_f32 * | S, |
uint16_t | nRows, | ||
uint16_t | nColumns, | ||
float32_t * | pData | ||
) |
[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. |
References arm_matrix_instance_f32::numCols, arm_matrix_instance_f32::numRows, and arm_matrix_instance_f32::pData.
Referenced by main().
void arm_mat_init_q15 | ( | arm_matrix_instance_q15 * | S, |
uint16_t | nRows, | ||
uint16_t | nColumns, | ||
q15_t * | pData | ||
) |
[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. |
References arm_matrix_instance_q15::numCols, arm_matrix_instance_q15::numRows, and arm_matrix_instance_q15::pData.
void arm_mat_init_q31 | ( | arm_matrix_instance_q31 * | S, |
uint16_t | nRows, | ||
uint16_t | nColumns, | ||
q31_t * | pData | ||
) |
[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. |
References arm_matrix_instance_q31::numCols, arm_matrix_instance_q31::numRows, and arm_matrix_instance_q31::pData.