diff options
author | Nils Werner <nils.werner@gmail.com> | 2013-07-24 13:06:53 +0200 |
---|---|---|
committer | Nils Werner <nils.werner@gmail.com> | 2013-07-24 13:06:53 +0200 |
commit | 62e3e6206a2d537267eb1e718864535dae8d1b72 (patch) | |
tree | 64dd3bc1fc7aef74cfbfc16e58336b2b7a5f0649 /numpy/core/fromnumeric.py | |
parent | 7b2f20b406d27364c812f7a81a9c901afbd3600c (diff) | |
download | numpy-62e3e6206a2d537267eb1e718864535dae8d1b72.tar.gz |
Link cumsum and diff to one another as theyre roughly the inverse of each other
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 069a28feb..78957e16e 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -1802,6 +1802,8 @@ def cumsum (a, axis=None, dtype=None, out=None): trapz : Integration of array values using the composite trapezoidal rule. + diff : Calculate the n-th order discrete difference along given axis. + Notes ----- Arithmetic is modular when using integer types, and no error is |