|
Length
Length[expr] gives the number of elements in expr.
See Section 1.4.8, Section 1.8.3 and Section 2.1.5.
When expr is a SparseArray object, Length[expr] returns the length of corresponding ordinary list.
Otherwise, Length[expr] returns 0 whenever AtomQ[expr] is True.
See also: LeafCount, ByteCount, Depth.
New in Version 1; modified in 5.0.
Further Examples
|