Previous Up Next

2.43.2  Inverse of a matrix : inv /

inv takes as argument a square matrix A.
inv returns the inverse matrix of A.
Input :

inv([[1,2],[3,4]])

or

1/[[1,2],[3,4]])

or

A:=[[1,2],[3,4]];1/A

Output :

[[-2,1],[3/2,1/-2]]

Previous Up Next