1.5.3.3 mchp_mat_init_f32()

void mchp_mat_init_f32 (mchp_matrix_instance_f32 * S, uint16_t nRows, uint16_t nColumns, float32_t * pData)

Single-precision floating-point matrix initialization.

Initializes the matrix instance structure with dimensions and a pointer to user-allocated data.

Parameters:
in,out S

Matrix instance to initialize

in nRows

Number of rows in the matrix

in nColumns

Number of columns in the matrix

in pData

Pointer to matrix data array

Note:
  • If the instance is declared const, do not use this function.

  • Initialize the structure statically instead.