<< hypermat 6-0 nanmax >>

removed >> removed > 6-0 > lstsize

lstsize

list, tlist, mlist numbers of entries

Syntax

n=lstsize(l)

Arguments

l

a list, tlist or mlist object

n

an integer, the number of entries

Description

lstsize(l) returns the number of entries for list, list, mlist objects. This function is more efficient than the size function and works similarly with all list types while size is overloaded for mlist objects.

Examples

lstsize(list(1,'aqsdf'))
x=ssrand(3,2,4);
[ny,nu]=size(x)
lstsize(x)

See also

History

VersionDescription
6.0.1 lstsize() is declared obsolete, to be removed from Scilab 6.1. Please use size() instead.

Report an issue
<< hypermat 6-0 nanmax >>