diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2010-08-17 18:22:25 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2010-08-17 18:22:25 +0000 |
commit | e777aafcf83e188419cec2b28fe7c1686a32ece0 (patch) | |
tree | 6bdc9b4b2c7f18c43b371d449c9317f70ec2c813 /numpy | |
parent | 45020fb87b0558142d0f3ca873839663269cb2fc (diff) | |
download | numpy-e777aafcf83e188419cec2b28fe7c1686a32ece0.tar.gz |
Merge branch 'poly'
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/polynomial/polytemplate.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/polynomial/polytemplate.py b/numpy/polynomial/polytemplate.py index 13f77ba30..37f0018d0 100644 --- a/numpy/polynomial/polytemplate.py +++ b/numpy/polynomial/polytemplate.py @@ -545,7 +545,7 @@ class $name(pu.PolyBase) : roots = ${nick}roots(self.coef) return pu.mapdomain(roots, $domain, self.domain) - def linspace(self, n): + def linspace(self, n=100): """Return x,y values at equally spaced points in domain. Returns x, y values at `n` equally spaced points across domain. @@ -554,8 +554,8 @@ class $name(pu.PolyBase) : Paramters --------- - n : int - Number of point pairs to return. + n : int, optional + Number of point pairs to return. The default value is 100. Returns ------- |