- Scilab Online Help
- Linear Algebra
- aff2ab
- balanc
- bdiag
- chfact
- chol
- chsolve
- classmarkov
- cmb_lin
- coff
- colcomp
- companion
- cond
- det
- eigenmarkov
- ereduc
- expm
- fstair
- fullrf
- fullrfk
- genmarkov
- givens
- glever
- gschur
- gspec
- hess
- householder
- im_inv
- inv
- kernel
- kroneck
- linsolve
- lsq
- lu
- lyap
- nlev
- orth
- pbig
- pencan
- penlaur
- pinv
- polar
- proj
- projspec
- psmall
- qr
- quaskro
- randpencil
- range
- rank
- rankqr
- rcond
- rowcomp
- rowshuff
- rref
- schur
- spaninter
- spanplus
- spantwo
- spec
- sqroot
- squeeze
- sva
- svd
- sylv
- trace
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
inv
matrix inverse
Calling Sequence
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
<< im_inv | Linear Algebra | kernel >> |