Structural Manipulation¶
33 built-in function(s) in this category.
Append— Append[expr, elem] adds elem to the end of expr. (Stable)Delete— Delete[expr, n] deletes the element at position n in expr. (Stable)DeleteDuplicates— DeleteDuplicates[list] (Stable)Dimensions— Dimensions[expr] (Stable)Drop— Drop[list, n] (Stable)Extract— Extract[expr, pos] (Stable)First— First[expr] gives the first element of expr. (Stable)Flatten— Flatten[list] (Stable)Head— Head[expr] (Stable)Insert— Insert[expr, elem, n] inserts elem at position n in expr. (Stable)Join— Join[list1, list2, ...] (Stable)Last— Last[expr] gives the last element of expr. (Stable)Length— Length[expr] (Stable)Level— Level[expr, levelspec] (Stable)Max— Max[x1, x2, ...] (Stable)Min— Min[x1, x2, ...] (Stable)Most— Most[expr] gives all but the last element of expr. (Stable)OrderedQ— OrderedQ[h[e1, e2, ...]] gives True if the elements are in canonical order, and False otherwise. (Stable)Part— expr[[i]] or Part[expr, i] (Stable)Partition— Partition[list, n] (Stable)Prepend— Prepend[expr, elem] adds elem to the beginning of expr. (Stable)Rest— Rest[expr] gives all but the first element of expr. (Stable)Reverse— Reverse[expr] reverses the order of elements in expr. (Stable)RotateLeft— RotateLeft[expr, n] rotates the elements of expr n positions to the left. (Stable)RotateRight— RotateRight[expr, n] rotates the elements of expr n positions to the right. (Stable)Sort— Sort[list] sorts the elements of list into canonical order. (Stable)Span— i;;j represents a span of elements i through j. i;;j;;k represents a span in steps of k. (Stable)Split— Split[list] (Stable)Take— Take[list, n] (Stable)Tally— Tally[list] counts the number of occurrences of each distinct element in list. (Stable)Transpose— Transpose[list] (Stable)Union— Union[list] (Stable)UpTo— UpTo[n] (Stable)