Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT: Fix stacklevels for the new C dispatcher not adding one | Sebastian Berg | 2023-01-17 | 1 | -3/+3 |
| | |||||
* | MAINT: Move set_module to numpy.core to use without C import | Sebastian Berg | 2022-11-24 | 1 | -2/+2 |
| | |||||
* | Merge pull request #22313 from rossbar/deprecate-fastCopyAndTranspose | Matti Picus | 2022-10-07 | 1 | -16/+2 |
|\ | | | | | DEP: Deprecate fastCopyAndTranspose | ||||
| * | MAINT: rm private, unused linalg function. | Ross Barnowski | 2022-10-06 | 1 | -11/+0 |
| | | |||||
| * | DEP: fastCopyAndTranspose and PyArray_CopyAndTranspose | Ross Barnowski | 2022-10-06 | 1 | -7/+4 |
| | | | | | | | | | | | | | | | | Deprecate the fastCopyAndTranspose function from the Python API, and the underlying PyArray_CopyAndTranspose function from the C-API. Also removes an internal, private function _fastCopyAndTranspose which was the original Python wrapper around the C-function. | ||||
* | | Fix linalg.tensorsolve docstring | Yin Li | 2022-08-18 | 1 | -1/+1 |
|/ | |||||
* | remove redundant reversal of eigenvalues order | KIU Shueng Chuan | 2022-08-12 | 1 | -1/+0 |
| | |||||
* | DOC:linalg: Remove ref to scipy.linalg.pinv2 | Ilhan Polat | 2022-05-22 | 1 | -1/+0 |
| | |||||
* | PERF: Reduce overhead of np.linalg.norm for small arrays (#21394) | Pieter Eendebak | 2022-05-03 | 1 | -2/+4 |
| | | | | Reduce the overhead of np.linalg.norm by replacing dot(x,x) with x.dot(x). This is OK, since `x` is converted to a base-class array here. | ||||
* | BUG: Consistent promotion for norm for all values of ord (#17709) | Toshiki Kataoka | 2022-04-07 | 1 | -2/+3 |
| | | | | | | | | | Previously, numpy.linalg.norm would return values with the same floating-point type as input arrays for most values of the ``ord`` parameter, but not all. This PR fixes this so that the output dtype matches the input for all (valid) values of ``ord``. Co-authored-by: Kenichi Maehashi <webmaster@kenichimaehashi.com> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> | ||||
* | DOC: Update linalg.qr docstring with numerically stable example (#21149) | Jason Thai | 2022-03-07 | 1 | -2/+2 |
| | | | Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com> | ||||
* | Update numpy/linalg/linalg.py | Diego Wang | 2022-02-25 | 1 | -5/+6 |
| | | | Co-authored-by: Charles Harris <charlesr.harris@gmail.com> | ||||
* | clarify svd documentation | Diego Wang | 2022-02-24 | 1 | -2/+3 |
| | | | `u @ np.diag(s) @ vh` can only reproduce the original matrix when `full_matrices` is `False`, otherwise dimension does not match. | ||||
* | DOC: clarify the return value of linalg.cholesky | Stephan Hoyer | 2022-02-17 | 1 | -2/+2 |
| | | | | | It is in fact always lower-triangular. The errorenous note might date to when function was forked from SciPy? | ||||
* | BUG: Fix tensorsolve for 0-sized input | Ivan Yashchuk | 2021-11-29 | 1 | -1/+7 |
| | | | | | | | | `array.reshape(-1, size)` doesn't work with 0 in the dimensions. The fix is to use explicit shape instead of `-1`. For "non-square" tensors the `ValueError` would come from the reshape call, while previously `LinAlgError` appeared from the solve call. To have the same error type I added a check for squareness before the reshape. | ||||
* | Merge pull request #20156 from melissawm/fix-cond-docs | Charles Harris | 2021-10-25 | 1 | -2/+2 |
|\ | | | | | DOC: Fixed docstring for parameters 2 and -2 on linalg.cond | ||||
| * | DOC: Clarify table contents in cond docstring | melissawm | 2021-10-22 | 1 | -4/+4 |
| | | |||||
| * | DOC: Fixed docstring for parameters 2 and -2 on linalg.cond | melissawm | 2021-10-21 | 1 | -2/+2 |
| | | |||||
* | | MAINT: remove unused imports | Alessia Marcolini | 2021-10-08 | 1 | -1/+1 |
|/ | |||||
* | DOC: Typos found by codespell | Dimitri Papadopoulos | 2021-09-21 | 1 | -2/+2 |
| | |||||
* | Merge pull request #19151 from czgdp1807/stack_mat | Matti Picus | 2021-07-14 | 1 | -66/+58 |
|\ | | | | | ENH: Vectorising np.linalg.qr | ||||
| * | removed redudancy in code | czgdp1807 | 2021-07-10 | 1 | -18/+8 |
| | | |||||
| * | Addressed testing reviews | czgdp1807 | 2021-06-24 | 1 | -2/+2 |
| | | |||||
| * | Addressed reviews | czgdp1807 | 2021-06-08 | 1 | -3/+7 |
| | | |||||
| * | documentation fix | czgdp1807 | 2021-06-05 | 1 | -2/+2 |
| | | |||||
| * | resolved linting issues | czgdp1807 | 2021-06-05 | 1 | -1/+1 |
| | | |||||
| * | resolved linting issues | czgdp1807 | 2021-06-05 | 1 | -1/+2 |
| | | |||||
| * | removed trailing white spaces | czgdp1807 | 2021-06-05 | 1 | -4/+4 |
| | | |||||
| * | linting issue fixed | czgdp1807 | 2021-06-05 | 1 | -1/+2 |
| | | |||||
| * | documentation updated | czgdp1807 | 2021-06-05 | 1 | -8/+20 |
| | | |||||
| * | existing tests passed | czgdp1807 | 2021-06-05 | 1 | -3/+16 |
| | | |||||
| * | ready for formal addition of tests and documentation update | czgdp1807 | 2021-06-04 | 1 | -44/+12 |
| | | |||||
| * | WIP | czgdp1807 | 2021-06-04 | 1 | -42/+58 |
| | | |||||
| * | ENH: r, raw, economic now accept stacked matrices | czgdp1807 | 2021-06-03 | 1 | -22/+9 |
| | | |||||
* | | Merge pull request #19102 from default-303/LGTM_unused_variables | Matti Picus | 2021-07-09 | 1 | -6/+0 |
|\ \ | | | | | | | MAINT: Removed suitable unused variables shown in LGTM | ||||
| * | | MAINT: Removed 'if' block which served no purpose in core.py and removed ↵ | default-303 | 2021-05-26 | 1 | -4/+0 |
| | | | | | | | | | | | | '_linalgRealType(t)' function from linalg.py | ||||
| * | | MAINT: Removed suitable unused variables shown in LGTM | default-303 | 2021-05-26 | 1 | -2/+0 |
| |/ | |||||
* | | Merge branch 'main' into matrix_rank-doc-fix | Aaron Meurer | 2021-06-14 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | STY: Add spaces around '-'. | Charles Harris | 2020-12-30 | 1 | -1/+1 |
| | | | | | | [ci skip] | ||||
| * | DOC: add missing details to linalg.lstsq docstring | Nilo Kruchelski | 2020-12-30 | 1 | -2/+3 |
| | | | | | | | | | | | | | | It turns out that lstsq also minimizes the 2-norm of x when a is rank-deficient. I found that by searching the documentation for the LAPACK library, which is the current implementation of lstsq (as of Dec 2020). Ref: https://www.netlib.org/lapack/lug/node27.html | ||||
* | | Fix some inconsistencies in the docstring of matrix_rank | Aaron Meurer | 2021-06-11 | 1 | -22/+22 |
|/ | | | | | | | | | - Rename the argument from M to A, since M already refers to the number of rows in the docstring. - Fix the documentation for the formula for the default value of tol. It only uses the maximum of the number of rows and columns, not the max of all dimensions. The code here was correct; only the documentation was wrong. | ||||
* | Update numpy/linalg/linalg.py | Eric Wieser | 2020-11-20 | 1 | -2/+2 |
| | |||||
* | Update linalg.py | Alex Leontiev | 2020-11-20 | 1 | -4/+4 |
| | |||||
* | Convert some strings to fstrigns | Jakob | 2020-10-24 | 1 | -1/+1 |
| | |||||
* | DOC: clarify residuals return param | Stefan Appelhoff | 2020-09-19 | 1 | -3/+3 |
| | | | | | Specify that the sum of *squared* residuals are returned. Use @ operator instead of * in code example. | ||||
* | MAINT: Remove Duplicated Code (#16848) | Wansoo Kim | 2020-07-14 | 1 | -4/+3 |
| | | | | | * MAINT: Remove Duplicated Code Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
* | DOC: cross-reference numpy.dot and numpy.linalg.multi_dot | Andras Deak | 2020-06-21 | 1 | -1/+1 |
| | | | | | Add linalg.multi_dot to the "See also" of numpy.dot, change dot to numpy.dot for linking in the "See also" of multi_dot. | ||||
* | ENH: update numpy.linalg.multi_dot to accept an `out` argument (#15715) | sslivkoff | 2020-04-30 | 1 | -11/+25 |
| | | | | | | | | | | | | | * ENH: update numpy.linalg.multi_dot to accept an `out` argument * TST ensure value returned by numpy.linalg.multi_dot matches out * DOC add note about initial call to numpy.linalg.multi_dot * DOC add release note for #15715 Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> Co-authored-by: Eric Wieser <wieser.eric@gmail.com> | ||||
* | Added some chained exceptions | Chris Holland | 2020-04-23 | 1 | -4/+4 |
| | |||||
* | DOC: Improve docstring for numpy.linalg.lstsq (gh-15920) | Pierre de Buyl | 2020-04-10 | 1 | -6/+6 |
| | | | | | | | | | Start the docstring with """Computes the vector x that approximatively solves the equation :math:`a x = b`.""" instead of """Solves the equation :math:`a x = b`""". Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu> Closes gh-15874 |