diff options
author | Joseph Martinot-Lagarde <contrebasse@gmail.com> | 2013-10-08 23:33:26 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-10-16 20:54:21 +0200 |
commit | 84c52d80b05510e10e730ce9c8c026aadb429594 (patch) | |
tree | 26ce2b0445ce81bde4ad82a2e418de0ed102a800 /numpy/polynomial/polyutils.py | |
parent | 95a5219774818eb754053a8c45023e2e185642e7 (diff) | |
download | numpy-84c52d80b05510e10e730ce9c8c026aadb429594.tar.gz |
BUG: cov/corrcoef complex input and empty arrays
This preserves the complex (and higher precision float or
object) type of the input array, so that the complex
covariance and correlation coefficients can be calculated.
It also fixes the the behaviour of empty arrays. These will
now either result in a 0x0 result, or a NxN result filled
with NaNs.
A warning is now issued when ddof is too large and the factor
set to 0 so that in this case the result is always NaN or
infinity/negative infinity and never a negative number.
Closes gh-597 and gh-2680
Closes gh-3882 (original pull request)
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions