summaryrefslogtreecommitdiff
path: root/numpy/linalg/linalg.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #20156 from melissawm/fix-cond-docsCharles Harris2021-10-251-2/+2
|\ | | | | DOC: Fixed docstring for parameters 2 and -2 on linalg.cond
| * DOC: Clarify table contents in cond docstringmelissawm2021-10-221-4/+4
| |
| * DOC: Fixed docstring for parameters 2 and -2 on linalg.condmelissawm2021-10-211-2/+2
| |
* | MAINT: remove unused importsAlessia Marcolini2021-10-081-1/+1
|/
* DOC: Typos found by codespellDimitri Papadopoulos2021-09-211-2/+2
|
* Merge pull request #19151 from czgdp1807/stack_matMatti Picus2021-07-141-66/+58
|\ | | | | ENH: Vectorising np.linalg.qr
| * removed redudancy in codeczgdp18072021-07-101-18/+8
| |
| * Addressed testing reviewsczgdp18072021-06-241-2/+2
| |
| * Addressed reviewsczgdp18072021-06-081-3/+7
| |
| * documentation fixczgdp18072021-06-051-2/+2
| |
| * resolved linting issuesczgdp18072021-06-051-1/+1
| |
| * resolved linting issuesczgdp18072021-06-051-1/+2
| |
| * removed trailing white spacesczgdp18072021-06-051-4/+4
| |
| * linting issue fixedczgdp18072021-06-051-1/+2
| |
| * documentation updatedczgdp18072021-06-051-8/+20
| |
| * existing tests passedczgdp18072021-06-051-3/+16
| |
| * ready for formal addition of tests and documentation updateczgdp18072021-06-041-44/+12
| |
| * WIPczgdp18072021-06-041-42/+58
| |
| * ENH: r, raw, economic now accept stacked matricesczgdp18072021-06-031-22/+9
| |
* | Merge pull request #19102 from default-303/LGTM_unused_variablesMatti Picus2021-07-091-6/+0
|\ \ | | | | | | MAINT: Removed suitable unused variables shown in LGTM
| * | MAINT: Removed 'if' block which served no purpose in core.py and removed ↵default-3032021-05-261-4/+0
| | | | | | | | | | | | '_linalgRealType(t)' function from linalg.py
| * | MAINT: Removed suitable unused variables shown in LGTMdefault-3032021-05-261-2/+0
| |/
* | Merge branch 'main' into matrix_rank-doc-fixAaron Meurer2021-06-141-2/+3
|\ \ | |/
| * STY: Add spaces around '-'.Charles Harris2020-12-301-1/+1
| | | | | | [ci skip]
| * DOC: add missing details to linalg.lstsq docstringNilo Kruchelski2020-12-301-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_rankAaron Meurer2021-06-111-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.pyEric Wieser2020-11-201-2/+2
|
* Update linalg.pyAlex Leontiev2020-11-201-4/+4
|
* Convert some strings to fstrignsJakob2020-10-241-1/+1
|
* DOC: clarify residuals return paramStefan Appelhoff2020-09-191-3/+3
| | | | | Specify that the sum of *squared* residuals are returned. Use @ operator instead of * in code example.
* MAINT: Remove Duplicated Code (#16848)Wansoo Kim2020-07-141-4/+3
| | | | | * MAINT: Remove Duplicated Code Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* DOC: cross-reference numpy.dot and numpy.linalg.multi_dotAndras Deak2020-06-211-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)sslivkoff2020-04-301-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 exceptionsChris Holland2020-04-231-4/+4
|
* DOC: Improve docstring for numpy.linalg.lstsq (gh-15920)Pierre de Buyl2020-04-101-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
* MAINT: Add better error handling in linalg.norm for vectors and clarify it ↵Jim2020-03-121-4/+7
| | | | | | | | | | | | in documentation (#15740) * Clarify `fro` and `nuc` usage in linalg.norm documentation (see #15533). * Add improved error handling when getting Frobenius norm from a vector (see #15533). * Fix comment in linalg norm test. Closes gh-15533.
* DOC: Improve the `numpy.linalg.eig` doctring. (#15550)Charles Harris2020-02-131-9/+16
| | | | | - Use '@' instead of 'dot'. - Note that `scipy.linalg.schur` is better for non-Hermitian normal matrices.
* BUG: Fix for SVD not always sorted with hermitian=TrueHameer Abbasi2020-02-051-8/+13
|
* MAINT: Python2 CleanupsSeth Troisi2020-01-281-7/+0
|
* DOC: fix typosBrian Wignall2020-01-141-1/+1
|
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-2/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* DOC: update cholesky docstring regarding input checkingZé Vinícius2019-12-231-2/+4
|
* DOC: linalg: Include information about scipy.linalg. (#14988)Warren Weckesser2019-12-191-2/+48
| | | * DOC: Add links to scipy linalg fuctions and compare numpy.linalg vs scipy.linalg.
* DOC: Fix statement about norms (#15050)Andreas Klöckner2019-12-051-1/+1
| | | The "0.5-norm" violates the triangle inequality because its unit ball is nonconvex.
* MAINT: Small clarification spelling fixes.Charles Harris2019-11-251-5/+5
|
* DOC: fix docstring of np.linalg.normmattip2019-11-231-4/+7
|
* Rename helper functions to not use the word rankEric Wieser2019-10-311-40/+37
| | | | | | As shown in gh-10471, this naming was confusing. Also rename all the functions of this style to use snake case
* DOC: Fix hermitian argument docs in svdhvy2019-08-031-6/+6
|
* DEP: Deprecate full and economic modes for linalg.qrkritisingh12019-07-221-7/+1
|
* MAINT: Replace integers in places where booleans are expectedMSeifert042019-07-011-2/+2
|