Permalink
Browse files

DOC: Move KroghInterpolator references above examples in docstring

  • Loading branch information...
1 parent 6440e86 commit 1da6ab7b1d916e2df0202322e57867ff2496e902 @capnrefsmmat committed Feb 2, 2013
Showing with 6 additions and 5 deletions.
  1. +6 −5 scipy/interpolate/polyint.py
@@ -43,6 +43,12 @@ class KroghInterpolator(object):
or scalars if R=1. When an xi occurs two or more times in
a row, the corresponding yi's represent derivative values.
+ References
+ ----------
+ .. [1] Krogh, "Efficient Algorithms for Polynomial Interpolation
+ and Numerical Differentiation", 1970.
+
+
Examples
--------
To produce a polynomial that is zero at 0 and 1 and has
@@ -67,11 +73,6 @@ class KroghInterpolator(object):
This constructs a linear polynomial giving (2,3) at 0 and (4,5) at 1.
- References
- ----------
- .. [1] Krogh, "Efficient Algorithms for Polynomial Interpolation
- and Numerical Differentiation", 1970.
-
"""
def __init__(self, xi, yi):
"""Construct an interpolator passing through the specified points

0 comments on commit 1da6ab7

Please sign in to comment.