listlist inverse - part-cw/lambdanative GitHub Wiki
#(listlist-inverse m) listlist-inverse returns the inverse of a matrix (list of lists).
Parameter | Description |
---|---|
m | Matrix (list of lists) |
Example
Example 1: Obtain the inverse of a matrix
> (listlist-inverse '((4 7) (2 6)))
((3/5 -7/10) (-1/5 2/5))
> (listlist-inverse '((1 3 3) (1 4 3) (1 3 4)))
((7 -3 -3) (-1 1 0) (-1 0 1))
> (listlist-inverse '((1 2 3) (1 2 3) (1 2 3)))
#f