summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/polynomial/polyutils.py')
-rw-r--r--numpy/polynomial/polyutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/polynomial/polyutils.py b/numpy/polynomial/polyutils.py
index 3b0f0a9e5..a2bc75a4d 100644
--- a/numpy/polynomial/polyutils.py
+++ b/numpy/polynomial/polyutils.py
@@ -330,12 +330,12 @@ def mapdomain(x, old, new):
-----
Effectively, this implements:
- .. math ::
+ .. math::
x\\_out = new[0] + m(x - old[0])
where
- .. math ::
+ .. math::
m = \\frac{new[1]-new[0]}{old[1]-old[0]}
Examples