summaryrefslogtreecommitdiff
path: root/numpy/linalg
Commit message (Collapse)AuthorAgeFilesLines
* BUILD: Remove Accelerate support (#15759)Matti Picus2020-05-221-1/+7
| | | | | | | Remove support for Apple Accelerate, since it is buggy. A build error should occur on most or all setups if linked against Accelerate. Test or import failures should occur on setups where Accelerate is picked up dynamically. Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com>
* Mark tests as a subpackage rather than data.Hameer Abbasi2020-05-061-1/+1
|
* ENH: update numpy.linalg.multi_dot to accept an `out` argument (#15715)sslivkoff2020-04-302-11/+60
| | | | | | | | | | | | | * 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: Clean-up 'next = __next__' used for Python 2 compatibilityMike Taves2020-04-011-4/+0
|
* MAINT: Add better error handling in linalg.norm for vectors and clarify it ↵Jim2020-03-123-7/+11
| | | | | | | | | | | | 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.
* convert shebang from python to python3 (#15687)Changqing Li2020-03-042-2/+2
| | | | Signed-off-by: Changqing Li <changqing.li@windriver.com>
* 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.
* Merge pull request #15468 from hameerabbasi/fix-svd-sortedMatti Picus2020-02-062-8/+21
|\ | | | | BUG: Fix for SVD not always sorted with hermitian=True
| * BUG: Fix for SVD not always sorted with hermitian=TrueHameer Abbasi2020-02-052-8/+21
| |
* | TST: mark the top 3 slowest tests to save ~10 secondsmattip2020-02-021-0/+1
|/
* Merge pull request #15417 from sethtroisi/python2_easyMatti Picus2020-01-292-8/+1
|\ | | | | MAINT: Cleanup references to python2
| * MAINT: Python2 CleanupsSeth Troisi2020-01-282-8/+1
| |
* | Merge pull request #15452 from mwtoews/E401Matti Picus2020-01-291-1/+2
|\ \ | | | | | | STY,MAINT: avoid 'multiple imports on one line'
| * | STY,MAINT: avoid 'multiple imports on one line' (flake8 E401)Mike Taves2020-01-281-1/+2
| |/ | | | | | | | | | | * PEP 8: "Imports should usually be on separate lines" * Where modified, sort imported modules alphabetically * Clean-up unused imports from these expanded lines
* | MAINT: Remove sys.version checks (gh-#15373)Seth Troisi2020-01-281-6/+1
|/ | | More sys.version cleanup.
* MAINT: Const qualify UFunc inner loops (gh-15355)Kai Striega2020-01-211-34/+34
| | | | | This PR const qualifies the dimension and strides arguments of PyUFuncGenericFunction. Const qualified arguments make it simpler to reason about the behaviour of these ufuncs and prevents accidental mutation. As the const is now required this PR also const qualifies calls to PyUFuncGenericFunction inside the NumPy source code. This closes #15252
* [MAINT] Cleanup python2 sys.version checksSeth Troisi2020-01-201-12/+8
|
* Merge pull request #15224 from pv/lapack-lite-symrenameMatti Picus2020-01-2012-37/+787
|\ | | | | MAINT: linalg: use symbol suffix in fallback lapack_lite
| * GEN: regenerate lapack_litePauli Virtanen2020-01-148-25/+716
| |
| * MAINT: linalg: use symbol suffix in fallback lapack_litePauli Virtanen2020-01-144-12/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | When building the fallback lapack_lite library for numpy.linalg, add symbol suffix to the routines when using 64-bit integer indices. Adjust the lapack_lite generator script to also output a header file that renames the symbols. Moreover, also rename symbols from f2c.c, to be sure (because they have short and generic names that may clash). This avoids a name clash with BLAS/LAPACK names, which can cause problems in corner cases on platforms where inadvertent symbol overriding in dynamic libraries can occur.
* | Merge pull request #15333 from eric-wieser/use-PyDict_GetItemWithErrorMatti Picus2020-01-161-8/+20
|\ \ | | | | | | BUG: Add some missing C error handling
| * | BUG: Add some missing C error handlingEric Wieser2020-01-151-8/+20
| | |
* | | DOC: fix typosBrian Wignall2020-01-142-2/+2
|/ /
* | MAINT: Remove implicit inheritance from object class (#15236)Jon Dufresne2020-01-056-21/+21
| | | | | | | | | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python.
* | Merge pull request #14376 from jdufresne/futureSebastian Berg2020-01-0310-20/+0
|\ \ | | | | | | MAINT: Remove unnecessary 'from __future__ import ...' statements
| * | MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-0310-20/+0
| |/ | | | | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* | MAINT: Remove Python2 specific C module setup (gh-15231)Seth Troisi2020-01-032-32/+5
|/ | | | | Dropping the support for python 2, the difference in module setup do not have to be accounted for anymore. This removes the macros and ifdef's related to module setup code and python 2 support.
* MAINT: indicate in numpy.__config__ when fallback lapack_lite is usedPauli Virtanen2020-01-011-5/+16
| | | | | Make numpy.__config__.show() to print information about the fallback lapack_lite library when it is used.
* MAINT: better way of indicating whether numpy was built with ILP64 BLASPauli Virtanen2020-01-011-0/+6
|
* ENH: build fallback lapack_lite with 64-bit integers on 64-bit platformsPauli Virtanen2020-01-012-6/+12
| | | | | Build the lapack fallback library (used when no LAPACK installed) with 64-bit integer size when building on a 64-bit platform.
* DOC: lapack_lite: fix incorrect information in lapack_lite READMEPauli Virtanen2020-01-011-2/+2
|
* Merge pull request #15107 from pv/blas64-ilp64-ciCharles Harris2020-01-011-0/+28
|\ | | | | TST: add BLAS ILP64 run in Travis & Azure
| * TST: linalg: add ilp64 lapack low-memory smoketestPauli Virtanen2019-12-211-0/+28
| | | | | | | | | | LAPACK lwork call does not require much memory, and can be used as a smoketest to whether LAPACK really uses 64-bit integers.
* | DOC: update cholesky docstring regarding input checkingZé Vinícius2019-12-231-2/+4
|/
* Merge pull request #15129 from bwignall/typo_levenMatti Picus2019-12-193-7/+7
|\ | | | | DOC: Fix typos, via a Levenshtein-style corrector
| * Fix typos, via a Levenshtein-style correctorBrian Wignall2019-12-193-7/+7
| |
* | 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.
* ENH: update BLAS symbol suffix/prefix handling in cblasfuncs & linalgPauli Virtanen2019-12-143-47/+13
| | | | Revise the BLAS name mangling to support the general scheme.
* ENH: distutils: add support for ILP64 OpenBLAS (generic symbol suffix)Pauli Virtanen2019-12-141-4/+2
| | | | | | | | | | | | | | | | | | | Generalize the ILP64 BLAS/LAPACK symbol name handling to deal with arbitrary prefix/suffix. The build-time behavior is changed so that HAVE_BLAS_ILP64 and BLAS_SYMBOL_SUFFIX/PREFIX defines are added to compile options as appropriate. Mainly to make autodetection of BLAS/LAPACK easier for downstream numpy.distutils users, add get_info aliases 'blas_ilp64_opt', 'blas_ilp64_plain_opt', and 'blas64__opt' for any/no/""&"64_" prefix&suffix, and the same for lapack. (Due to the way system_info works, each also gets a separate class.) In addition to openblas64_ which has a fixed suffix, add the (by default suffixless) openblas_ilp64, which correspond to the most likely cases to be present.
* Merge pull request #15052 from pv/blas64-fixupSebastian Berg2019-12-061-1/+1
|\ | | | | MAINT: follow-up cleanup for blas64 PR
| * TST: fix up issues in requires_memory decoratorPauli Virtanen2019-12-041-1/+1
| | | | | | | | Fix wrong multiplier for /proc/meminfo, and do style cleanups.
* | 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.
* Merge pull request #15021 from pv/blas64-testCharles Harris2019-12-021-1/+15
|\ | | | | TST: machinery for tests requiring large memory + lapack64 smoketest
| * TST: linalg: add smoke test for 64-bit blasPauli Virtanen2019-12-011-1/+15
| |
* | ENH: core: add LAPACK64_ support in numpy.linalgPauli Virtanen2019-11-294-336/+438
|/
* MAINT: Small clarification spelling fixes.Charles Harris2019-11-251-5/+5
|
* DOC: fix docstring of np.linalg.normmattip2019-11-231-4/+7
|
* MAINT: revert gh-14800, which gave precedence to OO->O over OO->?mattip2019-11-061-3/+4
|