From 62e3e6206a2d537267eb1e718864535dae8d1b72 Mon Sep 17 00:00:00 2001 From: Nils Werner Date: Wed, 24 Jul 2013 13:06:53 +0200 Subject: Link cumsum and diff to one another as theyre roughly the inverse of each other --- numpy/core/fromnumeric.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'numpy/core/fromnumeric.py') 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 -- cgit v1.2.1