mttime.core.utils.gaussj

gaussj(A, b)[source]

Solves the linear matrix equation Ax = b

Computes the solution of a well-determined linear matrix equation by performing Gaussian-Jordan elimination for a given matrix and transforming it to a reduced echelon form.

Parameters
Returns

solution vector x so that Ax = b.

Return type

numpy.ndarray