[Scipy-svn] r3183 - in trunk/Lib/special: . tests

scipy-svn at scipy.org scipy-svn at scipy.org
Mon Jul 23 08:43:18 EDT 2007


Author: cdavid
Date: 2007-07-23 07:43:13 -0500 (Mon, 23 Jul 2007)
New Revision: 3183

Modified:
   trunk/Lib/special/spfun_stats.py
   trunk/Lib/special/tests/test_spfun_stats.py
Log:
Correct import in multigammaln tests + fix of the docstring.

Modified: trunk/Lib/special/spfun_stats.py
===================================================================
--- trunk/Lib/special/spfun_stats.py	2007-07-23 12:06:57 UTC (rev 3182)
+++ trunk/Lib/special/spfun_stats.py	2007-07-23 12:43:13 UTC (rev 3183)
@@ -1,5 +1,5 @@
 #! /usr/bin/env python
-# Last Change: Mon Jul 23 04:00 PM 2007 J
+# Last Change: Mon Jul 23 09:00 PM 2007 J
 
 # Copyright (c) 2001, 2002 Enthought, Inc.
 # 
@@ -59,8 +59,8 @@
     \Gamma_d(a) = \int_{A>0}{e^{-tr(A)\cdot{|A|}^{a - (m+1)/2}dA}}
 
     with the condition a > (d-1)/2, and A>0 being the set of all the positive
-    definite matrices. Note that a is a scalar: the integration is
-    multivariate, the argument is not.
+    definite matrices of dimension s. Note that a is a scalar: the integration
+    is multivariate, the argument is not.
 
     This can be proven to be equal to the much friendler equation:
 

Modified: trunk/Lib/special/tests/test_spfun_stats.py
===================================================================
--- trunk/Lib/special/tests/test_spfun_stats.py	2007-07-23 12:06:57 UTC (rev 3182)
+++ trunk/Lib/special/tests/test_spfun_stats.py	2007-07-23 12:43:13 UTC (rev 3183)
@@ -2,8 +2,7 @@
 from numpy.testing import *
 
 set_package_path()
-from spfun_stats import multigammaln
-from special import gammaln
+from scipy.special import gammaln, multigammaln
 restore_path()
 
 class test_multigammaln(NumpyTestCase):




More information about the Scipy-svn mailing list