diff options
author | Oscar Villellas <oscar.villellas@continuum.io> | 2017-01-03 22:36:55 +0100 |
---|---|---|
committer | Oscar Villellas <oscar.villellas@continuum.io> | 2017-01-03 22:36:55 +0100 |
commit | c85d199df3da21d5f92b75424c2b3c84327528f0 (patch) | |
tree | 55f6d6888a066403c8dcdcf63ee835ab3e918b42 /doc | |
parent | 6d7f14f60e12d200b02fd1f41d2315a5167cc859 (diff) | |
download | numpy-c85d199df3da21d5f92b75424c2b3c84327528f0.tar.gz |
single too argument + mention in release docs.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.13.0-notes.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/release/1.13.0-notes.rst b/doc/release/1.13.0-notes.rst index eed3f7266..ddeeae40f 100644 --- a/doc/release/1.13.0-notes.rst +++ b/doc/release/1.13.0-notes.rst @@ -124,3 +124,16 @@ Boolean indexing changes * Boolean indexing into scalar arrays return a new 1-d array. This means that ``array(1)[array(True)]`` gives ``array([1])`` and not the original array. +``np.random.multivariate_normal`` behavior with bad covariance matrix +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +It is now possible to adjust the behavior the function will have when dealing +with the covariance matrix by using two new keyword arguments: + +* ``tol`` can be used to specify a tolerance to use when checking that + the covariance matrix is positive semidefinite. + +* ``check_valid`` can be used to configure what the function will do in the + presence of a matrix that is not positive semidefinite. Valid options are + ``ignore``, ``warn`` and ``raise``. The default value, ``warn`` keeps the + the behavior used on previous releases. |