diff options
author | tim cera <tcera@sjrwmd.com> | 2012-02-06 12:51:14 -0500 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2012-04-04 13:29:16 -0600 |
commit | 7270d9e6054e105c6c7ace66b443870a9e299b75 (patch) | |
tree | c293b21712e466b21e92d8efa1e86de79f52b998 /numpy/add_newdocs.py | |
parent | 313fe46046a7192cbdba2e679a104777301bc7cf (diff) | |
download | numpy-7270d9e6054e105c6c7ace66b443870a9e299b75.tar.gz |
ENH: Add module containing functions for padding n-dimensional arrays.
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.
Diffstat (limited to 'numpy/add_newdocs.py')
0 files changed, 0 insertions, 0 deletions