CMSIS-DSP  
CMSIS DSP Software Library
 
Loading...
Searching...
No Matches
Matrix Initialization

Functions

void arm_mat_init_f16 (arm_matrix_instance_f16 *S, uint16_t nRows, uint16_t nColumns, float16_t *pData)
 Floating-point matrix initialization.
 
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_f64 (arm_matrix_instance_f64 *S, uint16_t nRows, uint16_t nColumns, float64_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.
 

Description

Initializes the underlying matrix data structure. The functions set the numRows, numCols, and pData fields of the matrix data structure.

Function Documentation

◆ arm_mat_init_f16()

void arm_mat_init_f16 ( arm_matrix_instance_f16 S,
uint16_t  nRows,
uint16_t  nColumns,
float16_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

◆ arm_mat_init_f32()

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

◆ arm_mat_init_f64()

void arm_mat_init_f64 ( arm_matrix_instance_f64 S,
uint16_t  nRows,
uint16_t  nColumns,
float64_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

◆ arm_mat_init_q15()

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

◆ arm_mat_init_q31()

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 Q31 matrix structure
[in]nRowsnumber of rows in the matrix
[in]nColumnsnumber of columns in the matrix
[in]pDatapoints to the matrix data array