From 89f1a4e66ffaefe0ce7fe969df55821d7b853ba9 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Mon, 19 May 2008 19:53:13 +0000 Subject: Fix math in Bartlett docstring. --- numpy/lib/function_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/function_base.py') diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 4236ca1bb..ea1b867c8 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -1226,7 +1226,7 @@ def bartlett(M): ----- The Bartlett window is defined as - .. math:: w(n) = \frac{2}{M-1} (\frac{M-1}{2} - |n - \frac{M-1}{2}|) + .. math:: w(n) = \\frac{2}{M-1} (\\frac{M-1}{2} - |n - \\frac{M-1}{2}|) Most references to the Bartlett window come from the signal processing literature, where it is used as one of many windowing -- cgit v1.2.1