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

PadLeftOrdering (4.1)


FilledSmallSquarePadRight[list, n] makes a list of length n by padding list with zeros on the right.

FilledSmallSquarePadRight[list, n, x] pads by repeating the element x.

FilledSmallSquarePadRight[list, n, , , ... ] pads by cyclically repeating the elements .

FilledSmallSquarePadRight[list, n, padding, m] leaves a margin of m elements of padding on the left.

FilledSmallSquarePadRight[list, , , ... ] makes a nested list with length at level i.

FilledSmallSquarePadRight[list, n, ... ] always returns a list of length n.

FilledSmallSquare Example: PadRight[a,b,c, 7] LongRightArrow.

FilledSmallSquare With padding , , ... cyclic repetitions of the are effectively laid down and then the list is superimposed on top of them, with the first element of the list lying on an occurrence of .

FilledSmallSquare Examples: PadRight[a,b, 7, x,y,z] LongRightArrow.

FilledSmallSquarePadRight[a,b, 7, x,y,z, 2] LongRightArrow.

FilledSmallSquare See additional notes for PadLeft.

FilledSmallSquare See The Mathematica Book: Section 1.8.6.

FilledSmallSquare See also: PadLeft, Join, Partition, ListCorrelate, RotateRight.

Further Examples

PadLeftOrdering (4.1)