Function rc_algebra_invert_matrix_inplace#

Function Documentation#

int rc_algebra_invert_matrix_inplace(rc_matrix_t *A)#

Inverts matrix A in place.

The original contents of A are lost. Returns -1 if A is not invertible.

Parameters:

A – matrix to be inverted

Returns:

Returns 0 on success or -1 on failure.