summaryrefslogtreecommitdiff
path: root/numpy/lib/arraypad.py
Commit message (Collapse)AuthorAgeFilesLines
* STY: Touch up documentation in arraypad.pyCharles Harris2012-04-041-111/+125
| | | | | Rearrange some of the documentation and shorten lines. A few long lines of code were also broken.
* ENH: Add module containing functions for padding n-dimensional arrays.tim cera2012-04-041-0/+767
The various padding functions are exposed as options to a public 'pad' function. Example: pad(a, 5, mode='mean') Current modes are 'constant', 'edge', 'linear_ramp', 'maximum', 'mean', 'median', 'minimum', 'reflect', 'symmetric', 'wrap', and <function> This commit includes unit tests and doctests and is based on feature request ticket #655.