Scilab Reference Manual |
---|
list — Scilab object and list function definition
list(a1,....an)
Creates a list with elements ai's which are arbitrary Scilab objects (matrix, list,...). Type of list objects is 15.
list() is the empty list (0 element).
Operations on lists:
extraction 12 : [x,y,z...]=l(v) where v is a vector of indices; [x,y,z]=l(:) extracts all the elements.
insertion : l(i)=a
deletion : l(i)=null() removes the i-th element of the list l.
x=list(1,2,3); x(4)=10; x(10)='a'
<< less | lsslist >> |