[Numpy-svn] r5006 - trunk/numpy/lib
numpy-svn at scipy.org
numpy-svn at scipy.org
Wed Apr 9 16:06:18 EDT 2008
Author: stefan
Date: 2008-04-09 15:05:57 -0500 (Wed, 09 Apr 2008)
New Revision: 5006
Modified:
trunk/numpy/lib/twodim_base.py
Log:
Fix vander docstring.
Modified: trunk/numpy/lib/twodim_base.py
===================================================================
--- trunk/numpy/lib/twodim_base.py 2008-04-09 18:19:23 UTC (rev 5005)
+++ trunk/numpy/lib/twodim_base.py 2008-04-09 20:05:57 UTC (rev 5006)
@@ -145,11 +145,10 @@
# borrowed from John Hunter and matplotlib
def vander(x, N=None):
"""
- X = vander(x,N=None)
+ Generate the Vandermonde matrix of vector x.
- The Vandermonde matrix of vector x. The i-th column of X is the
- the i-th power of x. N is the maximum power to compute; if N is
- None it defaults to len(x).
+ The i-th column of X is the the (N-i)-1-th power of x. N is the
+ maximum power to compute; if N is None it defaults to len(x).
"""
x = asarray(x)
More information about the Numpy-svn
mailing list