Apply
Usage
• Apply[f, expr] or f @@ expr replaces the head of expr by f. • Apply[f, expr, levelspec] replaces heads in parts of expr specified by levelspec.
Notes
• Level specifications are described in Section A.3.6. • The default value for levelspec in Apply is {0}. • f @@@ expr is equivalent to Apply[f, expr, {1}]. • Apply operates on SparseArray objects just as it would on the corresponding ordinary lists. • New in Version 1; modified in 4.
|