summaryrefslogtreecommitdiff
path: root/numpy/linalg/linalg.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | BUG: prevent np.linalg.eigh ValueError when given a 0x0 arrayEric Wieser2016-12-191-0/+1
| | | | | | | | Throw LinAlgError instead with an appropriate message
* | BUG: Raise LinAlgError from lstsq rather than a math domain error from math.logEric Wieser2016-12-191-0/+9
| | | | | | | | | | | | | | | | We could make the log conditional on its argument being non-zero, but that entire expression is wrong anyway. We could omit that calculation entirely and have LAPACK calculate it for us, but the routine in LAPACK is wrong anyway We could upgrade the version of lapack shipped in lapack_lite, but the tool to do that is wrong anyway. Let's leave that can of worms for another time, and just improve the error message for now.
* | BUG: prevent np.linalg.eig ValueError when given a 0x0 arrayEric Wieser2016-12-191-0/+1
|/ | | | Throw LinAlgError instead with an appropriate message
* Merge pull request #8098 from stuartarchibald/wip/np_la_eigh_doc_enhanceCharles Harris2016-11-041-2/+47
|\ | | | | DOC: Enhance description/usage for np.linalg.eig*h
| * DOC: Remove "deprecated" from eigvalsh UPLO.Charles Harris2016-11-041-2/+2
| | | | | | | | | | | | | | The UPLO parameter of eigvalsh was marked as deprecated, apparently in anticipation of convergence with the scipy version which uses a `lower` boolean parameter. There is no deprecation in the code, nor a lower parameter, so remove the deprecation. [ci skip]
| * DOC: Enhance description/usage for np.linalg.eig*hStuart Archibald2016-09-291-1/+46
| | | | | | | | | | | | | | | | | | | | Proposed documentation enhancement to the `np.linalg.eig*h` routines. The current documentation does not reflect the nature of the underlying LAPACK routines and the way in which they interpet the input. This documentation and examples are with view of adding clarity to what is actually performed.
* | Merge pull request #8103 from mattip/pypy-fixesNathaniel J. Smith2016-10-081-1/+1
|\ \ | | | | | | Pypy fixes
| * | ENH: remove stray comma that made the msg a tupleMatti Picus2016-10-011-1/+1
| |/
* | DOC: Fix "See also" links in linalg.wrwrwr2016-10-031-2/+2
|/
* DOC: change version references from x.y to x.y.zPierre de Buyl2016-09-071-1/+1
|
* DOC: change Numpy to NumPy in dosctrings and commentsPierre de Buyl2016-09-061-1/+1
| | | | The strings in error messages were left untouched
* ENH: Add stacklevel to all (or almost all) our function callsSebastian Berg2016-09-021-2/+2
|
* Fix versionadded tagsStefan van der Walt2016-07-151-1/+1
|
* DOC: Clarify the effect of rcond in numpy.linalg.lstsq.Stuart Archibald2016-06-151-2/+3
| | | | | | | The `rcond` `kwarg` to `numpy.linalg.lstsq` influences the rank determination computation by specifying the level at which singular values should be *treated* as zero, it does not cause the singular values to be "set" to zero.
* MAINT: linalg: fix comment, simplify mathCJ Carey2016-05-141-6/+6
| | | | | | | The comment was a simple copy-paste error. I find the math easier to look at in this form, with the common terms factored out.
* BUG: linalg.norm(): Don't convert object arrays to floatMatthias Geier2016-04-291-2/+2
| | | | This fixes #7575 (Regression in linalg.norm() using dtype=object).
* DOC: Update `norm` docstring to include examples that reflect that all ↵John Kirkham2016-01-221-8/+8
| | | | computations are done with floating point numbers.
* BUG: Make sure that the `ord=0` case returns a float.John Kirkham2016-01-221-1/+1
|
* BUG: In `norm`, always cast non-floating point arrays to 64-bit floats. ↵John Kirkham2016-01-221-0/+3
| | | | Otherwise, weird integer roundoff errors give faulty results in some cases.
* DOC: Use print only as function when print_function is imported from __future__gfyoung2015-12-191-1/+1
| | | | Closes gh-6863.
* MAINT: Remove useless semicolonRémy Léone2015-11-071-1/+1
|
* BUG,ENH: allow linalg.cond to work on a stack of matricesSebastian Berg2015-09-251-7/+7
| | | | | | | This was buggy, because the underlying functions supported it partially but cond was not aware of this. Closes gh-6351
* DOC: linalg.eig will return an array of a real type if thejason king2015-09-161-3/+4
| | | | | complex part equates to exactly 0. Updating doco to say this. Doco implied return type was always complex.
* DOC: Fix docstring warnings in documetation generation.Charles Harris2015-07-011-3/+15
| | | | | | | | | | | | Most of these fixes involve putting blank lines around .. versionadded:: x.x.x and .. deprecated:: x.x.x Some of the examples were also fixed.
* DOC: docstring typos _ssyevd -> _syevdalex2015-06-221-2/+2
|
* MAINT: eigenvalues returned by eigh are ascendingalex2015-06-221-1/+2
|
* Merge pull request #5990 from charris/1.10-deprecated-removalCharles Harris2015-06-211-0/+2
|\ | | | | 1.10 deprecated removal
| * MAINT: Mark deprecation warning with a date and Numpy version.Charles Harris2015-06-211-0/+2
| | | | | | | | | | | | This is to make it easier to find and remove deprecated features. It would be a good idea if all deprecations were made with similar comments.
* | Merge pull request #5988 from argriffing/eigvalsh-ordering-updateCharles Harris2015-06-191-1/+1
|\ \ | | | | | | MAINT: notice that eigvalsh returns a sorted array
| * | MAINT: notice that eigvalsh returns a sorted arrayalex2015-06-191-1/+1
| |/
* | DOC: update eigvalsh docstring examplealex2015-06-191-1/+1
|/
* DOC: Fix typo in documentationamir2015-06-121-4/+4
| | | | [ci skip]
* MAINT: conditional copy=False in some astype callsalex2015-05-221-4/+16
|
* MAINT: skip copy=False for det and logdetalex2015-05-221-3/+2
|
* MAINT: use copy=False in a few astype callsalex2015-05-221-18/+21
|
* BUG: Fix linalg matrix norms when given negative axes.RittaNarita2015-03-301-2/+6
|
* MAINT: use the fast elementwise 2-norm implementation more often in linalg.normalex2015-03-201-11/+15
|
* DOC: `linalg.eig()`: Add "See Also" ref to `eigh()`Stuart Berg2015-03-101-2/+5
| | | | [skip ci]
* DOC: Move versionadded 1.6.0 in slogdet to better place.Charles Harris2015-03-071-1/+1
| | | | | | | Put it up top, it matches better with the versionadded 1.8.0 for stacked matrices. [skip ci]
* DOC: Give version when various linalg functions accepted stacked arrays.Gert-Ludwig Ingold2015-03-071-0/+20
| | | | | | Version information added in the Notes section of the functions accepting stacked arrays and in the discussion of this feature in the linalg overview.
* DOC: Reconcile docstrings and function signatures where they disagreeRobert McGibbon2015-03-021-1/+1
| | | | | Fixed typos in docstrings were updated for functions where the parameter names in the docstring didn't match the function signature.
* Fix typo in slogdet doctdihp2015-01-121-1/+1
| | | | | fix typo in slogdet docstring "than" -> "then"
* DOC: 'sum of singular values' -> 'sum of the singular values'alex2015-01-021-1/+1
|
* MAINT: remove nuclear norm from the list of options for computing condition ↵alex2014-12-251-6/+4
| | | | number
* ENH: nuclear normalex2014-12-251-8/+15
|
* DOC: fix typos and clarify multi_dot docstring..Stefan Otte2014-12-011-11/+13
| | | | | | | - fix singular/plural issues - don't switch between "order" and "ordering"; use "order" - clarify the shapes of the arguments - don't "import numpy as np" in docstring
* ENH: add `multi_dot`: dot with multiple arguments.Stefan Otte2014-11-101-2/+185
| | | | | | | | | | | `np.linalg.multi_dot` computes the dot product of two or more arrays in a single function call, while automatically selecting the fastest evaluation order. The algorithm for selecting the fastest evaluation order uses dynamic programming and closely follows: Cormen, "Introduction to Algorithms", Chapter 15.2, p. 370-378
* MAINT: Give a more helpful error for bad axis specifications.Eric Moore2014-10-201-0/+4
| | | | | | | | | This specifically addresses passing things like axis=[0,1] which gave an error message that an int was required. The real error was that if the axis isn't None or a tuple, it was simply wraped in a tuple, so the ufunc that is eventually called ended up with a list. The error message is matches that in core/src/multiarray/conversion_utils.c::PyArray_ConvertMultiAxis.
* ENH: Add keepdims to linalg.normEric Moore2014-10-171-15/+30
|
* DOC: fix return shape of tensorinv docFrederic2014-07-171-1/+1
|