Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.

However, this page did not exist in the previous stable version.

# inv

matrix inverse

### Syntax

inv(X)

### Arguments

- X
real or complex square matrix, polynomial matrix, rational matrix in transfer or state-space representation.

### Description

`inv(X)`

is the inverse of the square matrix `X`

. A warning
message is printed if `X`

is badly scaled or nearly singular.

For polynomial matrices or rational matrices in transfer representation,
`inv(X)`

is equivalent to `invr(X)`

.

For linear systems in state-space representation (`syslin`

list),
`invr(X)`

is equivalent to `invsyslin(X)`

.

### References

`inv`

function for matrices of numbers is based on the Lapack routines
DGETRF, DGETRI for real matrices and ZGETRF, ZGETRI for the complex case.
For polynomial matrix and rational function matrix `inv`

is based on the `invr`

Scilab function.

### Examples

### See also

- slash — (/) правое деление и обратная связь
- backslash — (\) левое матричное деление.
- pinv — pseudoinverse
- qr — QR decomposition
- lufact — sparse lu factorization
- lusolve — sparse linear system solver
- invr — inversion of (rational) matrix
- coff — resolvent (cofactor method)
- coffg — inverse of polynomial matrix

## Comments

Add a comment:Please login to comment this page.