Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ENH: handle empty matrices in qr decomposition (#11593) | Jeremy Chen | 2018-07-31 | 1 | -7/+7 | |
| | | | Ensure LWORK and LDA respect the requirements of the lapack methods (zgeqrf, dgeqrf, zungqr, dorgqr) | |||||
* | DOC: Use "real symmetric" rather than "symmetric" in ``eigh`` and ↵ | Juan Azcarreta | 2018-07-26 | 1 | -11/+16 | |
| | | | | | | | | ''eigvalsh" docs. (#11621) Change the documentation of inputs from "symmetric or Hermitian" to "real symmetric or complex Hermitian" for eigh and eigvalsh. [ci skip] | |||||
* | ENH: Allow use of svd on empty arrays | Eric Wieser | 2018-06-27 | 1 | -1/+1 | |
| | | | | part of #8654 | |||||
* | HTTP -> HTTPS, and other linkrot fixes | Mike Toews | 2018-06-16 | 1 | -3/+3 | |
| | ||||||
* | Merge pull request #10938 from eric-wieser/linalg-lstsq-ufunc | Marten van Kerkwijk | 2018-05-28 | 1 | -8/+8 | |
|\ | | | | | MAINT: One step closer to vectorizing lstsq | |||||
| * | MAINT: Always spell "get the last two dims" the same way | Eric Wieser | 2018-04-21 | 1 | -4/+5 | |
| | | ||||||
| * | MAINT: Prepare lstsq for vectorization, by using the last indices in shape, ↵ | Eric Wieser | 2018-04-21 | 1 | -4/+3 | |
| | | | | | | | | not the first | |||||
* | | ENH: Allow stacks of matrices in matrix_power. | Marten van Kerkwijk | 2018-04-29 | 1 | -56/+51 | |
| | | | | | | | | | | Since linalg allows stacks of matrices generally, there is no reason not to allow it for matrix_power. | |||||
* | | MAINT: Move matrix_power to linalg | Marten van Kerkwijk | 2018-04-29 | 1 | -3/+111 | |
| | | | | | | | | | | The docstring already assumed it was in linalg, and this ensures linalg becomes completely independent of matrixlib. | |||||
* | | Merge pull request #10890 from eric-wieser/linalg-lstsq-ufunc | Marten van Kerkwijk | 2018-04-20 | 1 | -10/+2 | |
|\ \ | |/ | | | MAINT: lstsq: compute residuals inside the ufunc | |||||
| * | MAINT: compute residuals inside the ufunc | Eric Wieser | 2018-04-17 | 1 | -10/+2 | |
| | | | | | | | | | | | | This prevents an overly large output array being allocated. It also means the the residuals can be handled as a separate out argument in future. | |||||
* | | Merge pull request #10878 from mattip/devdocs | Ralf Gommers | 2018-04-16 | 1 | -1/+1 | |
|\ \ | |/ |/| | DOC: rework documents and silence warnings during sphinx build | |||||
| * | update kwargs where needed | mattip | 2018-04-11 | 1 | -1/+1 | |
| | | ||||||
* | | MAINT: Move lstsq to umath_linalg | Eric Wieser | 2018-04-10 | 1 | -50/+14 | |
|/ | | | | | This does not yet enable any broadcasting, but makes doing so in future far easier. | |||||
* | MAINT: Small grammar fixes to documentation. | Charles Harris | 2018-02-13 | 1 | -2/+2 | |
| | | | [ci skip] | |||||
* | BUG: linalg: fix corner-case behavior of cond() + use SVD if possible | Pauli Virtanen | 2018-02-12 | 1 | -4/+33 | |
| | | | | | | | | | | | | | Make np.linalg.cond(A, p) always use SVD for p=+-2 and not only p=None. Ensure inf is returned instead of nan when the condition number diverges for +/-2 norm. Ignore errors when inverting matrices for p = +-1, 'fro', +-inf, so that spurious LinAlgErrors are not raised. In those cases, report non-invertible matrices as having cond=inf. Add additional tests for cond(). | |||||
* | DOC: Record when axis was added to linalg.norm (#10426) | Matheus Vieira Portela | 2018-01-18 | 1 | -0/+3 | |
| | | | | | Fixes #5727 The axis argument was introduced in #3387 | |||||
* | Merge pull request #10390 from eric-wieser/fix-10364 | Charles Harris | 2018-01-12 | 1 | -2/+4 | |
|\ | | | | | MAINT: Adjust type promotion in linalg.norm | |||||
| * | BUG: Avoid unintentional promotion to `float`, and do ops in place for speed | Eric Wieser | 2018-01-11 | 1 | -1/+3 | |
| | | | | | | | | Fixes gh-10364, partly by adjusting the promise in the release notes | |||||
| * | ENH: Preserve norm dtype for order 0 | Eric Wieser | 2018-01-10 | 1 | -1/+1 | |
| | | ||||||
* | | DOC: typo fix in numpy.linalg.det docstring. (#10333) | Tyler Reddy | 2018-01-05 | 1 | -1/+1 | |
|/ | ||||||
* | STY: Fix PEP8 vertical alignment violation. | Charles Harris | 2017-11-09 | 1 | -1/+1 | |
| | ||||||
* | MAINT: Avoid extra copies in linalg.lstsq | Eric Wieser | 2017-11-08 | 1 | -4/+4 | |
| | | | | This takes gh-5909 a little further. | |||||
* | DOC: Fix incorrect shape in documentation | Eric Wieser | 2017-11-08 | 1 | -1/+1 | |
| | ||||||
* | MAINT: collect together type mangling | Eric Wieser | 2017-11-07 | 1 | -2/+4 | |
| | ||||||
* | MAINT: Remove similar branches from linalg.lstsq | Eric Wieser | 2017-11-07 | 1 | -20/+27 | |
| | ||||||
* | BUG: Ensure lstsq can handle RHS with all sizes. | Marten van Kerkwijk | 2017-11-06 | 1 | -7/+1 | |
| | | | | | | | This fixes a bug in the creation of workspace arrays for a call to `lapack_lite.zgelsd`, which led to segmentation faults when a RHS was passed in that had larger size than the size of the matrix. | |||||
* | MAINT: Remove unused isscalar import | Eric Wieser | 2017-10-21 | 1 | -1/+1 | |
| | ||||||
* | MAINT: Remove workarounds for gh-9527 | Eric Wieser | 2017-10-18 | 1 | -12/+3 | |
| | | | | The np.generic.astype method now accepts these keyword arguments | |||||
* | DOC: Refine SVD documentation (#9845) | Toon Verstraelen | 2017-10-18 | 1 | -48/+89 | |
| | ||||||
* | DOC: Make qr options render correctly as list. | Charles Harris | 2017-10-16 | 1 | -7/+7 | |
| | | | | [ci skip] | |||||
* | ENH: add hermitian=False kwarg to matrix_power | CJ Carey | 2017-09-16 | 1 | -7/+16 | |
| | | | | | With a symmetric matrix, the more efficient `eigvalsh` method can be used to find singular values. | |||||
* | ENH: Broadcast the second argument of matrix_rank to match pinv | Eric Wieser | 2017-09-12 | 1 | -5/+10 | |
| | ||||||
* | BUG: Fix pinv on matrix stacks | Eric Wieser | 2017-09-12 | 1 | -26/+49 | |
| | | | | Fixes #8826 | |||||
* | MAINT: Remove use of int as boolean | Eric Wieser | 2017-09-12 | 1 | -2/+2 | |
| | ||||||
* | MAINT: Remove global statement | Srinivas Reddy Thatiparthy | 2017-08-31 | 1 | -7/+5 | |
| | | | | | - Use of `global` variable may have unintented consequences, so it is better to refactor the code so that we do not need to use `global`. | |||||
* | ENH: Warn to change lstsq default for rcond | Sebastian Berg | 2017-08-19 | 1 | -1/+22 | |
| | | | | | The default parameter used by LAPACK (which was our default) is not very good, so implement a FutureWarning to change to a better default. | |||||
* | MAINT: Use moveaxis instead of rollaxis internally (#9475) | Nico Schlömer | 2017-08-10 | 1 | -4/+2 | |
| | | | | | Also add a hint to the documentation advising the use of moveaxis over rollaxis. Tests for rollaxis are left alone. | |||||
* | MAINT: Remove unneeded asfarray | Eric Wieser | 2017-08-06 | 1 | -12/+1 | |
| | | | | As of gh-7088, x is always a float array anyway | |||||
* | DOC: BLD: fix lots of Sphinx warnings/errors. | Ralf Gommers | 2017-06-10 | 1 | -1/+1 | |
| | ||||||
* | BUG: KeyboardInterrupt is swallowed all over the place | Eric Wieser | 2017-06-03 | 1 | -1/+1 | |
| | | | | Bare except is very rarely the right thing | |||||
* | MAINT: Remove python side empty array handling from linalg | Sebastian Berg | 2017-04-29 | 1 | -37/+0 | |
| | | | | | | | | | The necessary fixup on the C-side of linalg has been done already (i.e. the gufuncs correctly work for these empty arrays). This also enables cholesky decomposition and fixes a small bug in pinv handling. Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | |||||
* | Merge pull request #8682 from eric-wieser/stack-matrix_rank | Charles Harris | 2017-04-12 | 1 | -6/+4 | |
|\ | | | | | ENH: allow argument to matrix_rank to be stacked | |||||
| * | ENH: allow argument to matrix_rank to be stacked | Eric Wieser | 2017-02-24 | 1 | -6/+4 | |
| | | | | | | | | Fixes #5905 | |||||
* | | DOC: Fix "invalid section header" warning in "linalg.multi_dot" docstring. | Michael Seifert | 2017-03-26 | 1 | -8/+7 | |
| | | | | | | | | [ci skip] | |||||
* | | MAINT: Remove asbytes where a b prefix would suffice | Eric Wieser | 2017-03-25 | 1 | -6/+5 | |
| | | | | | | | | | | | | | | | | Since we only need to support python 2, we can remove any case where we just pass a single string literal and use the b prefix instead. What we can't do is transform asbytes("tests %d" % num), because %-formatting fails on bytes in python 3.x < 3.5. | |||||
* | | ENH: Implement most linalg operations for 0x0 matrices | Eric Wieser | 2017-03-04 | 1 | -9/+29 | |
| | | | | | | | | | | | | | | | | | | | | Fixes #8212 det: return ones of the right shape slogdet: return sign=ones, log=zeros of the right shape pinv, eigvals(h?), eig(h?): return empty array(s?) of the right shape svd & qr: not implemented, due to complex return value rules | |||||
* | | MAINT: replace len(x.shape) with x.ndim | Eric Wieser | 2017-02-24 | 1 | -6/+6 | |
|/ | ||||||
* | Merge pull request #8584 from eric-wieser/resolve_axis | Marten van Kerkwijk | 2017-02-21 | 1 | -7/+3 | |
|\ | | | | | MAINT: Use the same exception for all bad axis requests | |||||
| * | MAINT: Use normalize_axis_index in all python axis checking | Eric Wieser | 2017-02-20 | 1 | -7/+3 | |
| | | | | | | | | | | | | | | As a result, some exceptions change from ValueError to IndexError This also changes the exception types raised in places where normalize_axis_index is not quite appropriate |