This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

• The following forms of padding can be specified:
 c a constant c {c1,c2,...} cyclic repetition of constants "Extrapolated" polynomial extrapolation of elements "Fixed" repetitions of the elements on each boundary "Periodic" cyclic repetitions of the complete array "Reflected" reflections of the array in the boundary "ReflectedDifferences" reflections of the differences between elements "Reversed" reversals of the complete array "ReversedDifferences" reversals of the differences between elements "ReversedNegation" negated reversals of the array
• The padding value indicates that the elements added at each corner should be copies of the elements at the corners of the original array.
• indicates that the outermost elements in the array should be repeated as the innermost elements in the padding. specifies that these elements should not be repeated.
• With the padding value , the degree of polynomial used is specified by the option InterpolationOrder.
• ArrayPad removes m elements from each side of array.
Pad the edges of a list with 0s:
Pad the edges of a matrix:
Specify different padding on each side:
Pad according to a named rule:
Pad the edges of a list with 0s:
 Out[1]=

Pad the edges of a matrix:
 Out[1]//MatrixForm=

Specify different padding on each side:
 Out[1]=

 Out[1]=

Pad according to a named rule:
 Out[1]=
 Scope   (12)
Remove elements from each edge of an array:
Specify different padding for each edge:
Pad only the first level of an array:
Pad with the reversal of the list:
Pad with the negative of the reversal:
The differences are reflected about the edge of the original array:
Pad using extrapolation of different orders:
Pad using the maximal extrapolation order:
 Options   (3)
Specify the order of interpolation for padding:
By default linear interpolation is used:
Use the maximum possible order, in this case order 3:
 Applications   (1)
Lay out tiles by reflecting about their edges: