1.5.3.8 mchp_mat_scale_f32()

mchp_status mchp_mat_scale_f32 (const mchp_matrix_instance_f32 * pSrc, float32_t scale, mchp_matrix_instance_f32 * pDst)

Single-precision floating-point matrix scaling.

Parameters:
in pSrc

Points to the input matrix

in scale

Scale factor

out pDst

Points to the output matrix

Returns:

The function returns either MCHP_MATH_SIZE_MISMATCH or MCHP_MATH_SUCCESS based on the outcome of size checking.