Scilab 5.3.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
empty
([]) empty matrix
Description
[]
denotes the empty matrix. It is uniquely defined
and has 0 row and 0 column, i.e. size([]) =[0,0]
.
The following convenient conventions are made:
[] * A = A * [] = []
[] + A = A + [] = A
[ [], A] = [A, []] = A
inv([]) =[]
det([])=cond([])=rcond([])=1, rank([])=0
Matrix functions return []
or an error message
when there is no obvious answer. Empty linear systems
(syslin
lists) may have several rows or columns.
Examples
<< elseif | Scilab keywords | end >> |