Permalink
Browse files

Fixed references to Zwillinger and Kokoska, so that they are informat…

…ive in the function docstrings in which they appear
  • Loading branch information...
1 parent 9d5325c commit 541f355847d7b46d0b85e291b4def3de40799aeb ariel.rokem committed Oct 26, 2009
Showing with 37 additions and 9 deletions.
  1. +35 −7 scipy/stats/stats.py
  2. +2 −2 site.cfg.example
View
@@ -122,8 +122,12 @@
References
----------
-[CRCProbStat2000] Zwillinger, D. and Kokoska, S. _CRC Standard Probablity and
-Statistics Tables and Formulae_. Chapman & Hall: New York. 2000.
+[CRCProbStat2000]_
+
+.. [CRCProbStat2000] Zwillinger, D. and Kokoska, S. (2000). CRC Standard
+ Probablity and Statistics Tables and Formulae. Chapman & Hall: New
+ York. 2000.
+
"""
## CHANGE LOG:
## ===========
@@ -442,7 +446,12 @@ def cmedian(a, numbins=1000):
References
----------
- [CRCProbStat2000] Section 2.2.6
+ [CRCProbStat2000]_ Section 2.2.6
+
+ .. [CRCProbStat2000] Zwillinger, D. and Kokoska, S. (2000). CRC Standard
+ Probablity and Statistics Tables and Formulae. Chapman & Hall: New
+ York. 2000.
+
"""
a = np.ravel(a)
n = float(len(a))
@@ -819,7 +828,12 @@ def variation(a, axis=0):
References
----------
- [CRCProbStat2000] section 2.2.20
+ [CRCProbStat2000]_ Section 2.2.20
+
+ .. [CRCProbStat2000] Zwillinger, D. and Kokoska, S. (2000). CRC Standard
+ Probablity and Statistics Tables and Formulae. Chapman & Hall: New
+ York. 2000.
+
"""
a, axis = _chk_asarray(a, axis)
n = a.shape[axis]
@@ -848,7 +862,12 @@ def skew(a, axis=0, bias=True):
References
----------
- [CRCProbStat2000] section 2.2.24.1
+ [CRCProbStat2000]_ Section 2.2.24.1
+
+ .. [CRCProbStat2000] Zwillinger, D. and Kokoska, S. (2000). CRC Standard
+ Probablity and Statistics Tables and Formulae. Chapman & Hall: New
+ York. 2000.
+
"""
a, axis = _chk_asarray(a,axis)
n = a.shape[axis]
@@ -897,7 +916,12 @@ def kurtosis(a, axis=0, fisher=True, bias=True):
References
----------
- [CRCProbStat2000] section 2.2.25
+ [CRCProbStat2000]_ Section 2.2.25
+
+ .. [CRCProbStat2000] Zwillinger, D. and Kokoska, S. (2000). CRC Standard
+ Probablity and Statistics Tables and Formulae. Chapman & Hall: New
+ York. 2000.
+
"""
a, axis = _chk_asarray(a, axis)
n = a.shape[axis]
@@ -1823,7 +1847,11 @@ def spearmanr(x, y):
References
----------
- [CRCProbStat2000] section 14.7
+ [CRCProbStat2000]_ Section 14.7
+
+ .. [CRCProbStat2000] Zwillinger, D. and Kokoska, S. (2000). CRC Standard
+ Probablity and Statistics Tables and Formulae. Chapman & Hall: New
+ York. 2000.
"""
x = np.asanyarray(x)
View
@@ -56,8 +56,8 @@
# /usr/local/{lib,include}
#
#[DEFAULT]
-#library_dirs = /usr/local/lib
-#include_dirs = /usr/local/include
+library_dirs = /usr/local/lib
+include_dirs = /usr/local/include
# Optimized BLAS and LAPACK
# -------------------------

0 comments on commit 541f355

Please sign in to comment.