1.5.3.4 mchp_mat_inverse_f32()

mchp_status mchp_mat_inverse_f32 (const mchp_matrix_instance_f32 * src, mchp_matrix_instance_f32 * dst)

Single-precision floating-point matrix inverse.

Computes the inverse of a square single-precision floating-point matrix.

Parameters:
in src

Points to the instance of the input single-precision floating-point matrix structure.

out dst

Points to the instance of the output single-precision floating-point matrix structure.

Returns:
  • MCHP_MATH_SUCCESS Matrix inversion successful.

  • MCHP_MATH_SIZE_MISMATCH Dimensions do not match.

  • MCHP_MATH_SINGULAR Input matrix is singular (non-invertible).

Note:
  • Input matrix must be square