| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
|
|
|
| |
- 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=True
|
| | |
|
|/ |
|
|\
| |
| | |
MAINT: Cleanup references to python2
|
| | |
|
|\ \
| | |
| | | |
STY,MAINT: avoid 'multiple imports on one line'
|
| |/
| |
| |
| |
| |
| | |
* PEP 8: "Imports should usually be on separate lines"
* Where modified, sort imported modules alphabetically
* Clean-up unused imports from these expanded lines
|
|/
|
| |
More sys.version cleanup.
|
|
|
|
|
| |
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: linalg: use symbol suffix in fallback lapack_lite
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
BUG: Add some missing C error handling
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
MAINT: Remove unnecessary 'from __future__ import ...' statements
|
| |/
| |
| |
| |
| | |
As numpy is Python 3 only, these import statements are now unnecessary
and don't alter runtime behavior.
|
|/
|
|
|
| |
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.
|
|
|
|
|
| |
Make numpy.__config__.show() to print information about the fallback
lapack_lite library when it is used.
|
| |
|
|
|
|
|
| |
Build the lapack fallback library (used when no LAPACK installed) with
64-bit integer size when building on a 64-bit platform.
|
| |
|
|\
| |
| | |
TST: add BLAS ILP64 run in Travis & Azure
|
| |
| |
| |
| |
| | |
LAPACK lwork call does not require much memory, and can be used as a
smoketest to whether LAPACK really uses 64-bit integers.
|
|/ |
|
|\
| |
| | |
DOC: Fix typos, via a Levenshtein-style corrector
|
| | |
|
|/
|
| |
* DOC: Add links to scipy linalg fuctions and compare numpy.linalg vs scipy.linalg.
|
|
|
|
| |
Revise the BLAS name mangling to support the general scheme.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
MAINT: follow-up cleanup for blas64 PR
|
| |
| |
| |
| | |
Fix wrong multiplier for /proc/meminfo, and do style cleanups.
|
|/
|
| |
The "0.5-norm" violates the triangle inequality because its unit ball is nonconvex.
|
|\
| |
| | |
TST: machinery for tests requiring large memory + lapack64 smoketest
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|