[Numpy-svn] r8653 - trunk/numpy/polynomial

numpy-svn@scip... numpy-svn@scip...
Tue Aug 17 13:22:26 CDT 2010


Author: charris
Date: 2010-08-17 13:22:25 -0500 (Tue, 17 Aug 2010)
New Revision: 8653

Modified:
   trunk/numpy/polynomial/polytemplate.py
Log:
Merge branch 'poly'

Modified: trunk/numpy/polynomial/polytemplate.py
===================================================================
--- trunk/numpy/polynomial/polytemplate.py	2010-08-17 16:10:14 UTC (rev 8652)
+++ trunk/numpy/polynomial/polytemplate.py	2010-08-17 18:22:25 UTC (rev 8653)
@@ -545,7 +545,7 @@
         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 @@
 
         Paramters
         ---------
-        n : int
-            Number of point pairs to return.
+        n : int, optional
+            Number of point pairs to return. The default value is 100.
 
         Returns
         -------



More information about the Numpy-svn mailing list