diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-03-16 18:00:56 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-03-16 18:00:56 +0000 |
commit | 6eec749b27cf8787177585df601795d92f31e643 (patch) | |
tree | b47ccdc79a1123a88c17d93e1a6569b3c855c52b /numpy/lib/function_base.py | |
parent | 9003457feff1a215d296a300dc8e2682fa797592 (diff) | |
download | numpy-6eec749b27cf8787177585df601795d92f31e643.tar.gz |
Add extra arguments to corrcoef.
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 37bcaab55..2c623cefe 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -670,10 +670,10 @@ def cov(m,y=None, rowvar=1, bias=0): else: return (dot(X,X.transpose().conj())/fact).squeeze() -def corrcoef(x, y=None): +def corrcoef(x, y=None, rowvar=1, bias=0): """The correlation coefficients """ - c = cov(x, y) + c = cov(x, y, rowvar, bias) try: d = diag(c) except ValueError: # scalar covariance |