Description:
Calculate the inverse of a square matrix.
Syntax:
inverse(A)
Note:
The function calculates the inverse of square matrix A. It returns null if the square matrix hasn’t an inverse.
Parameter:
A |
A square matrix |
Option:
@p |
Enable the calculation of pseudo inverse of square matrix B if the rank of matrix A is less than the numbers of its rows(columns) |
Return value:
Sequence
Example:
|
A |
|
1 |
[[1,-2,1],[0,2,-8],[-4,5,9]] |
|
2 |
=inverse(A1) |
|
3 |
=[[1,-2,1],[8]] |
|
4 |
=inverse@p(A3) |
|