diff options
author | Stefan van der Walt <stefan@sun.ac.za> | 2008-04-09 20:05:57 +0000 |
---|---|---|
committer | Stefan van der Walt <stefan@sun.ac.za> | 2008-04-09 20:05:57 +0000 |
commit | 7e0f986f1db836026348adadec555f32522008f5 (patch) | |
tree | e5f757fbf00aef0225c350b18fa28ed459e28cf1 /numpy/lib | |
parent | 5704671300f3376b2ba709f50a812ed682a11503 (diff) | |
download | numpy-7e0f986f1db836026348adadec555f32522008f5.tar.gz |
Fix vander docstring.
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/twodim_base.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/numpy/lib/twodim_base.py b/numpy/lib/twodim_base.py index e82053942..a66e94d65 100644 --- a/numpy/lib/twodim_base.py +++ b/numpy/lib/twodim_base.py @@ -145,11 +145,10 @@ def triu(m, k=0): # 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) |