[Scipy-svn] r4952 - trunk/scipy/spatial

scipy-svn@scip... scipy-svn@scip...
Mon Nov 3 01:02:17 CST 2008


Author: damian.eads
Date: 2008-11-03 01:02:14 -0600 (Mon, 03 Nov 2008)
New Revision: 4952

Modified:
   trunk/scipy/spatial/distance.py
Log:
Working on doc fixes.

Modified: trunk/scipy/spatial/distance.py
===================================================================
--- trunk/scipy/spatial/distance.py	2008-11-03 06:34:34 UTC (rev 4951)
+++ trunk/scipy/spatial/distance.py	2008-11-03 07:02:14 UTC (rev 4952)
@@ -183,9 +183,9 @@
 
     :Parameters:
        u : ndarray
-           An :math:`n`-dimensional vector.
+           An n-dimensional vector.
        v : ndarray
-           An :math:`n`-dimensional vector.
+           An n-dimensional vector.
        p : ndarray
            The norm of the difference :math:`${||u-v||}_p$`.
 
@@ -1565,10 +1565,9 @@
 
     A rectangular distance matrix ``Y`` is returned. For each :math:`$i$`
     and :math:`$j$`, the metric ``dist(u=XA[i], v=XB[j])`` is computed
-    and stored in the :math:`$ij$`th entry.
+    and stored in the :math:`$ij$` th entry.
 
-    Calling Conventions
-    -------------------
+    The following are common calling conventions:
 
     1. ``Y = cdist(X, 'euclidean')``
 



More information about the Scipy-svn mailing list