invert

Functionality

Finds the inverse or pseudo-inverse of a matrix.

Inputs

  • flags_in – DECOMP_LU, DECOMP_SVD, DECOMP_CHOLESKY
  • src_in – Input floating-point M x N matrix.

Outputs

  • dst_out – Output matrix of N x M size and the same type as src.
  • retval_out – Return value.

Locals

Examples