<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/scipy/ticket/525" rel="nofollow">http://projects.scipy.org/scipy/ticket/525</a> on 2007-10-29 by trac user ice999, assigned to unknown.</em></p>
<p dir="auto">Versions:[[BR]][[BR]]</p>
<p dir="auto">WinXP pro 5.1.2600 SP1[[BR]][[BR]]</p>
<p dir="auto">python 2.5.1 win32                         binary[[BR]]<br>
ipython-0.8.1.win32                        binary[[BR]]<br>
matplotlib-0.90.1.win32-py2.5              binary[[BR]]<br>
numpy-1.0.3.1.win32-py2.5                  binary[[BR]]<br>
pyreadline-1.3.win32                       binary[[BR]]<br>
pywin32-210.win32-py2.5                    binary[[BR]]<br>
scipy-0.6.0.win32-py2.5                    binary[[BR]]<br>
[[BR]]<br>
[[BR]]<br>
Error context:[[BR]]<br>
[[BR]]<br>
from numpy import matrix[[BR]]<br>
from scipy.linalg import det[[BR]]<br>
[[BR]]<br>
A = matrix([[1,1,1],[4,4,3],[7,8,5]])[[BR]]<br>
print det(A) ## Here det fails!![[BR]][[BR]][[BR]]</p>
<p dir="auto"><em>Note from <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mdhaber/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mdhaber">@mdhaber</a>: This is a deep issue that is slated to be addressed as part of <a href="https://chanzuckerberg.com/eoss/proposals/scipy-fundamental-tools-for-biomedical-research/" rel="nofollow">this project</a>. Before composing a PR related to this issue, please comment below or - even better - consider resolving another <a href="https://github.com/scipy/scipy/issues">open issue</a>!</em></p>
<p dir="auto">I think that the docstring of the scipy.stat.mean.cdf "the cumulative distribution function of the mean distribution." doesnot match with the scipy documentation. The <a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.norm.html#scipy.stats.norm" rel="nofollow">documentation page</a> of the <code class="notranslate">scipy.stats.norm.cdf</code> indicates that the second argument is<br>
location. Yet, the docstring saying that it is the 3rd argument.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import scipy
scipy.stats.norm.cdf?"><pre class="notranslate"><code class="notranslate">import scipy
scipy.stats.norm.cdf?
</code></pre></div>
<h3 dir="auto">The docstring of the scipt.stats.mean.cdf</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Signature: scipy.stats.norm.cdf(x, *args, **kwds)
Docstring:
Cumulative distribution function of the given RV.

Parameters
x : array_like
    quantiles
arg1, arg2, arg3,... : array_like
    The shape parameter(s) for the distribution (see docstring of the
    instance object for more information)
loc : array_like, optional
    location parameter (default=0)
scale : array_like, optional
    scale parameter (default=1)

Returns
cdf : ndarray
    Cumulative distribution function evaluated at `x`
File:      ~/anaconda3/lib/python3.7/site-packages/scipy/stats/_distn_infrastructure.py
Type:      method"><pre class="notranslate"><code class="notranslate">Signature: scipy.stats.norm.cdf(x, *args, **kwds)
Docstring:
Cumulative distribution function of the given RV.

Parameters
x : array_like
    quantiles
arg1, arg2, arg3,... : array_like
    The shape parameter(s) for the distribution (see docstring of the
    instance object for more information)
loc : array_like, optional
    location parameter (default=0)
scale : array_like, optional
    scale parameter (default=1)

Returns
cdf : ndarray
    Cumulative distribution function evaluated at `x`
File:      ~/anaconda3/lib/python3.7/site-packages/scipy/stats/_distn_infrastructure.py
Type:      method
</code></pre></div>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<p dir="auto">1.2.1 1.16.2 sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)</p>