summaryrefslogtreecommitdiff
path: root/numpy/polynomial
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-03 16:02:33 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-04-03 16:02:33 -0700
commitca77e31947b74feded3d69a282e638fa2e9ebf7c (patch)
tree47abbe6403cee151a8439021e0574b4863612c28 /numpy/polynomial
parent961a28f828fd7075af1e548a294c1443fdf4a215 (diff)
parent3830fcc99443cd479d4dd3fea5217c75396f9f3f (diff)
downloadnumpy-ca77e31947b74feded3d69a282e638fa2e9ebf7c.tar.gz
Merge pull request #460 from endolith/regex_formatting
DOC: Formatting fixes using regex
Diffstat (limited to 'numpy/polynomial')
-rw-r--r--numpy/polynomial/chebyshev.py4
-rw-r--r--numpy/polynomial/hermite.py2
-rw-r--r--numpy/polynomial/hermite_e.py4
-rw-r--r--numpy/polynomial/laguerre.py4
-rw-r--r--numpy/polynomial/legendre.py2
-rw-r--r--numpy/polynomial/polynomial.py2
-rw-r--r--numpy/polynomial/polyutils.py2
7 files changed, 10 insertions, 10 deletions
diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py
index dde4966e7..2c2070c62 100644
--- a/numpy/polynomial/chebyshev.py
+++ b/numpy/polynomial/chebyshev.py
@@ -878,7 +878,7 @@ def chebder(c, m=1, scl=1, axis=0) :
Parameters
----------
- c: array_like
+ c : array_like
Array of Chebyshev series coefficients. If c is multidimensional
the different axis correspond to different variables with the
degree in each axis given by the corresponding index.
@@ -1437,7 +1437,7 @@ def chebvander(x, deg) :
Returns
-------
- vander: ndarray
+ vander : ndarray
The pseudo Vandermonde matrix. The shape of the returned matrix is
``x.shape + (deg + 1,)``, where The last index is the degree of the
corresponding Chebyshev polynomial. The dtype will be the same as
diff --git a/numpy/polynomial/hermite.py b/numpy/polynomial/hermite.py
index 51a0f2fe0..f731817c0 100644
--- a/numpy/polynomial/hermite.py
+++ b/numpy/polynomial/hermite.py
@@ -1201,7 +1201,7 @@ def hermvander(x, deg) :
Returns
-------
- vander: ndarray
+ vander : ndarray
The pseudo-Vandermonde matrix. The shape of the returned matrix is
``x.shape + (deg + 1,)``, where The last index is the degree of the
corresponding Hermite polynomial. The dtype will be the same as
diff --git a/numpy/polynomial/hermite_e.py b/numpy/polynomial/hermite_e.py
index 9ae3c7067..3ecb3c58d 100644
--- a/numpy/polynomial/hermite_e.py
+++ b/numpy/polynomial/hermite_e.py
@@ -646,7 +646,7 @@ def hermeder(c, m=1, scl=1, axis=0) :
Parameters
----------
- c: array_like
+ c : array_like
Array of Hermite_e series coefficients. If `c` is multidimensional
the different axis correspond to different variables with the
degree in each axis given by the corresponding index.
@@ -1198,7 +1198,7 @@ def hermevander(x, deg) :
Returns
-------
- vander: ndarray
+ vander : ndarray
The pseudo-Vandermonde matrix. The shape of the returned matrix is
``x.shape + (deg + 1,)``, where The last index is the degree of the
corresponding HermiteE polynomial. The dtype will be the same as
diff --git a/numpy/polynomial/laguerre.py b/numpy/polynomial/laguerre.py
index 874088b2c..a951567de 100644
--- a/numpy/polynomial/laguerre.py
+++ b/numpy/polynomial/laguerre.py
@@ -644,7 +644,7 @@ def lagder(c, m=1, scl=1, axis=0) :
Parameters
----------
- c: array_like
+ c : array_like
Array of Laguerre series coefficients. If `c` is multidimensional
the different axis correspond to different variables with the
degree in each axis given by the corresponding index.
@@ -1201,7 +1201,7 @@ def lagvander(x, deg) :
Returns
-------
- vander: ndarray
+ vander : ndarray
The pseudo-Vandermonde matrix. The shape of the returned matrix is
``x.shape + (deg + 1,)``, where The last index is the degree of the
corresponding Laguerre polynomial. The dtype will be the same as
diff --git a/numpy/polynomial/legendre.py b/numpy/polynomial/legendre.py
index ba49cbc57..45107f543 100644
--- a/numpy/polynomial/legendre.py
+++ b/numpy/polynomial/legendre.py
@@ -1238,7 +1238,7 @@ def legvander(x, deg) :
Returns
-------
- vander: ndarray
+ vander : ndarray
The pseudo-Vandermonde matrix. The shape of the returned matrix is
``x.shape + (deg + 1,)``, where The last index is the degree of the
corresponding Legendre polynomial. The dtype will be the same as
diff --git a/numpy/polynomial/polynomial.py b/numpy/polynomial/polynomial.py
index b9a14972e..49678cbbc 100644
--- a/numpy/polynomial/polynomial.py
+++ b/numpy/polynomial/polynomial.py
@@ -485,7 +485,7 @@ def polyder(c, m=1, scl=1, axis=0):
Parameters
----------
- c: array_like
+ c : array_like
Array of polynomial coefficients. If c is multidimensional the
different axis correspond to different variables with the degree
in each axis given by the corresponding index.
diff --git a/numpy/polynomial/polyutils.py b/numpy/polynomial/polyutils.py
index 0d3343b04..51caacebe 100644
--- a/numpy/polynomial/polyutils.py
+++ b/numpy/polynomial/polyutils.py
@@ -138,7 +138,7 @@ def as_series(alist, trim=True) :
Raises
------
- ValueError :
+ ValueError
Raised when `as_series` cannot convert its input to 1-d arrays, or at
least one of the resulting arrays is empty.