| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Specify that the sum of *squared* residuals are returned.
Use @ operator instead of * in code example.
|
|
|
|
|
| |
* MAINT: Remove Duplicated Code
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
|
|
|
|
| |
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
* 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.
|
|
|
|
|
| |
- Use '@' instead of 'dot'.
- Note that `scipy.linalg.schur` is better for
non-Hermitian normal matrices.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
As numpy is Python 3 only, these import statements are now unnecessary
and don't alter runtime behavior.
|
| |
|
|
|
| |
* DOC: Add links to scipy linalg fuctions and compare numpy.linalg vs scipy.linalg.
|
|
|
| |
The "0.5-norm" violates the triangle inequality because its unit ball is nonconvex.
|
| |
|
| |
|
|
|
|
|
|
| |
As shown in gh-10471, this naming was confusing.
Also rename all the functions of this style to use snake case
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This patch adds two return sections to them. Also one or two minor formatting issues are resolved.
Addresses #13630.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Increment stacklevel for warnings to account for NEP-18 overrides
For NumPy functions that make use of `__array_function__`, the appropriate the
stack level for warnings should generally be increased by 1 to account for
the override function defined in numpy.core.overrides.
Fixes GH-13329
* Update numpy/lib/type_check.py
Co-Authored-By: Sebastian Berg <sebastian@sipsolutions.net>
|
|
|
|
| |
Closes #13497.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Replace double pipe with actual norm symbol.
Also remove unnecessary space after hanging hyphen.
|
| |
|
|
|
|
| |
Related to gh-9436
|
|
|
|
|
|
|
|
| |
* ported the refguide_check module from SciPy for usage
in NumPy docstring execution/ verification; added the
refguide_check run to Azure Mac OS CI
* adjusted NumPy docstrings such that refguide_check passes
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#12448)
* Review F401,F841,F842 flake8 errors (unused variables, imports)
* Review comments
* More tests in test_installed_npymath_ini
* Review comments
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes GH-12271
Tests verify that everything in ``dir(numpy)`` either has ``__module__`` set to
``'numpy'``, or appears in an explicit whitelist of undocumented functions and
exported bulitins. These should eventually be documented or removed.
I also identified a handful of functions for which I had accidentally not setup
dispatch for with ``__array_function__`` before, because they were listed under
"ndarray methods" in ``_add_newdocs.py``. I guess that should be a lesson in
trusting code comments :).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ENH: __array_function__ support for np.fft and np.linalg
xref GH12028
* CLN: remove unnecessary dispatcher functions from np.linalg
* CLN: remove more unneeded dispatchers
* CLN: remove repeated dispatchers from np.linalg
|
|\
| |
| | |
BUG: Make matrix_power again work for object arrays.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a regression introduced in #10985. Using matmul instead of
dot lost the object type while adding the ability to deal with matrix
stacks. This implements a partial fix by using dot for 2-D object
arrays, but object array stacks cannot be handled.
Closes #11635.
|
|\ \
| | |
| | | |
MAINT: Remove duplicate code.
|
| |/
| |
| |
| |
| | |
The definition of `_complex_types_map` was repeated in the linalg.py
file.
|
|/ |
|