Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | STY: Touch up documentation in arraypad.py | Charles Harris | 2012-04-04 | 1 | -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 cera | 2012-04-04 | 1 | -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. |