invMat: Moleculors inverse matrix with gauss jordan algorithm

Description Usage Value Examples

View source: R/Algebraic_utilities.R

Description

Compute the inverse matrix of the input A using the gauss jordan algorithm Given A*X-1 = I we solve with gauss algorithm the augmented matrix 'AI' by forward elimination and backward we can manage to obtain 'IX-1'

Usage

1
invMat(A)

Value

Inverse matrix of the input matrix A

Examples

1
2
A = matrix(1,2,3,5)
invMat(A)

FedericoViv/Moleculors documentation built on Jan. 17, 2022, 12:23 a.m.