V4.0.1 of the ARM CMSIS DSP libraries. Note that arm_bitreversal2.s, arm_cfft_f32.c and arm_rfft_fast_f32.c had to be removed. arm_bitreversal2.s will not assemble with the online tools. So, the fast f32 FFT functions are not yet available. All the other FFT functions are available.

Dependents:   MPU9150_Example fir_f32 fir_f32 MPU9150_nucleo_noni2cdev ... more

Embed: (wiki syntax)

« Back to documentation index

Matrix Initialization

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]*Spoints to an instance of the floating-point matrix structure.
[in]nRowsnumber of rows in the matrix.
[in]nColumnsnumber of columns in the matrix.
[in]*pDatapoints to the matrix data array.
Returns:
none

Definition at line 70 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]*Spoints to an instance of the floating-point matrix structure.
[in]nRowsnumber of rows in the matrix.
[in]nColumnsnumber of columns in the matrix.
[in]*pDatapoints to the matrix data array.
Returns:
none

Definition at line 62 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]*Spoints to an instance of the floating-point matrix structure.
[in]nRowsnumber of rows in the matrix.
[in]nColumnsnumber of columns in the matrix.
[in]*pDatapoints to the matrix data array.
Returns:
none

Definition at line 66 of file arm_mat_init_q31.c.