Group: | Linear Algebra |
See also: | ' trans |
Function: | inv | |
Description: | computes the inverse matrix. The functionality extends to higher dimensional arrays. |
Usage: | z = inv (x) | |
Input: | ||
x | array of square matrices | |
Output: | ||
z | array of square matrices |
inv returns matrix with elements NaNīs.
x = #(1,2)~#(3,4) inv(x) y = #(1,2)~#(2,4) inv(y)
Contents of invers [1,] -2 1.5 [2,] 1 -0.5 Contents of invers [1,] +NAN +NAN [2,] +NAN +NAN