inverse
Syntax
inverse(X)
Arguments
X is a matrix.
Details
Return the inverse matrix of X if it is invertible.
Examples
x=1..4$2:2;
x;
#0 | #1 |
---|---|
1 | 3 |
2 | 4 |
x.inverse();
#0 | #1 |
---|---|
-2 | 1.5 |
1 | -0.5 |
inverse(X)
X is a matrix.
Return the inverse matrix of X if it is invertible.
x=1..4$2:2;
x;
#0 | #1 |
---|---|
1 | 3 |
2 | 4 |
x.inverse();
#0 | #1 |
---|---|
-2 | 1.5 |
1 | -0.5 |