This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Take (modified)Partition (modified)


FilledSmallSquareDrop[list, n] gives list with its first n elements dropped.

FilledSmallSquareDrop[list, -n] gives list with its last n elements dropped.

FilledSmallSquareDrop[list, n] gives list with its n element dropped.

FilledSmallSquareDrop[list, m, n] gives list with elements m through n dropped.

FilledSmallSquareDrop[list, m, n, s] gives list with elements m through n in steps of s dropped.

FilledSmallSquareDrop[list, , , ... ] gives a nested list in which elements specified by have been dropped at level i in list.

FilledSmallSquareDrop uses the standard sequence specification (see Section A.3.5).

FilledSmallSquare Examples: Drop[a,b,c,d,e, 2] LongRightArrow.

FilledSmallSquareDrop[a,b,c,d,e, -3] LongRightArrow.

FilledSmallSquareDrop[Range[7], 2, 5, 2] LongRightArrow.

FilledSmallSquareDrop can be used on an object with any head, not necessarily List.

FilledSmallSquareDrop[list, , ] effectively drops all elements except those in a submatrix of list.

FilledSmallSquare Example: Drop[a,b,c,d,e,f, 1, -1] LongRightArrow.

FilledSmallSquare See The Mathematica Book: Section 1.8.4.

FilledSmallSquare See also: Rest, StringDrop, Take, Cases.

FilledSmallSquare Related package: LinearAlgebra`MatrixManipulation`.

Further Examples

Take (modified)Partition (modified)