| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
ENH: Improved `__str__` for polynomials
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update routines.polynomials.classes doc in the refguide to reflect
changes to polynomial printing.
Add additional information to the document about the various ways that
the string representation of polynomial expressions can be controlled
via formatting.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes the printing style of instances of the convenience classes in
the polynomial package to a more "human-readable" format.
__str__ has been modified and __format__ added to ABCPolyBase, modifying
the string representation of polynomial instances, e.g. when printed.
__repr__ and the _repr_latex method (which is used in the Jupyter
environment are unchanged.
Two print formats have been added: 'unicode' and 'ascii'. 'unicode' is
the default mode on *nix systems, and uses unicode values for numeric
subscripts and superscripts in the polynomial expression. The 'ascii'
format is the default on Windows (due to font considerations) and uses
Python-style syntax to represent powers, e.g. x**2. The default
printing style can be controlled at the package-level with the
set_default_printstyle function.
The ABCPolyBase.__str__ has also been made to respect the linewidth
printoption. Other parameters from the printoptions dictionary are not
used.
Co-Authored-By: Warren Weckesser <warren.weckesser@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
* DOC: NEP for C style guide
Draft of NEP 45 setting code style for NumPy C code,
using the wording of doc/C_STYLE_GUIDE.rst.txt
|
|\ \
| | |
| | | |
DOC: Fix development_workflow links
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixed links for branch delete and graph visualizer.
Updated instructions for branch delete (git since 1.7.0 (Sept 2010)
has allowed --delete sted ':').
'Learn git' link pointed to Bitbucket instructions; replaced with GitHub
instructions.
Minor rewording in 'Pushing changes to the main repo'.
This is NOT a review of the page, only some fixes.
|
|\ \ \
| | | |
| | | | |
DOC: Fix troubleshooting code snippet when env vars are empty
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The previous snippet worked fine, but not when the environment
variables were completly empty.
|
| | | |
| | | |
| | | |
| | | | |
This requires some minor tweaks in `np.random` because there the two have different meanings, with `()` meaning 0d array and `None` meaning scalar.
|
|\ \ \ \
| | | | |
| | | | | |
DOC: add a "make show" command to doc/Makefile
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Opens the front page of the docs built with `make html` in the default
web browser.
Idea copied from SciPy
[ci skip]
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Usefull for crossreferencing and intersphinx
Here is a snippet to update it if other neps are missing it:
In [1]: neps = !ls nep-0*
...: for nep in neps:
...: number = nep[6:8]
...: with open(nep, 'r') as f:
...: data = f.read()
...:
...: if f'.. _NEP{number}:' in data:
...: continue
...: with open(nep, 'w') as f:
...: f.write('.. _NEP'+number+':\n')
...: f.write(data)
...:
|
|\ \ \ \
| | | | |
| | | | | |
DOC: Fix an obvious mistake in a message printed in doc/Makefile.
|
| | | | | |
|
| | | | | |
|
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
use the same reference format as other NEP having reference, (uppercase
NEP, and on the first line of the document). This make it easier to link
to this NEP with intersphinx.
|
|\ \ \ \
| | | | |
| | | | | |
DOC: Add style guide to howto_document
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes gh-16262
|
| | | | | |
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Switch from pdflatex to xelatex as the latex engine used for
generating the latex/pdf version of the documentation.
|
|\ \ \ \
| | | | |
| | | | | |
DEP: Ensure indexing errors will be raised even on empty results
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, when the indexing result was empty, no check was done
for backward compatibility with pre 1.9 (assumingly).
This may have been only necessary when the outer iteration is empty
as opposed to when just the inner iteration is empty, though.
In any case, it is arguably buggy to ignore indexing errors in this
case. Since there may have been a reason back in the day, and this
is probably extremely rare, optiming for a brief deprecation period
for now.
Closes gh-15898
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Switch html target for make dist to move away from the
html-scipyorg theme. Makes the theme of the archived docs
including stable consistent with the devdocs
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* MAINT,DOC: add index for user docs.
Adds an index.rst for the user documentation (pre-NEP 44) to
serve as a start page for the latex version of the user
documentation.
Marked as an orphan, so should not interfere with building html
docs
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* reconstruct testing doc
* Update doc/TESTS.rst.txt
* DOC: add docstring for numpy.test
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
Fixes problem with citation (reference) anchors in rendered docs.
Actual fix was in numpy/numpydoc@7c42883, but this bumps to latest
(unreleased) numpydoc version.
|
|\ \
| | |
| | | |
ENH: improve printing of arrays with multi-line reprs
|
| | |
| | |
| | | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
DEP: Deprecate `numpy.dual`.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Also make the correction "Scipy" -> "SciPy" in a few places.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add documentation for `PyArray_ContiguousFromObject` similar to the other
macros wrapping `PyArray_FromAny`
Fixes #16196
|
|\ \ \ \
| | | | |
| | | | | |
DOC: Update the f2py section of the "Using Python as Glue" page.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Fix whitespace in the inputs to Python in the f2py examples.
* Capitalize Python and Fortran consistently.
|
| | | | |
| | | | |
| | | | |
| | | | | |
* Update the output shown for the docstrings generated by f2py.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Delete release note fragments from 1.19.0 (towncrier)
- Update 1.19.x release note (towncrier)
- Create 1.20.0-notes.rst for master development
- Update C-API versions for 1.20.x
- Update setup.py for 1.20.0
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
DOC: Fix typos and cosmetic issues
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
* Replace print statements with print function calls.
* Fix the filename in one of the commands: it is "add.f", not "add.f95".
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Using PyArray_PyIntAsIntp helper function instead
* TST: add tests for einsum numpy int and bool list subscripts
Added tests to check that einsum accepts numpy int64 types and
rejects bool. Rejecting bools is new behaviour in subscript lists.
I changed ValueError to TypeError on line 2496 in multiarraymodule.c
as it is more appropriate. I also modified einsumfunc.py to have the
same behaviour as in the C file when checking subscript list.
(Reject bools but accept anything else from operator.index())
Closes gh-15961
|
|\ \ \ \
| | | | |
| | | | | |
DOC: Unify cross-references between array joining methods
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DOC: Add Clang and MSVC to supported compilers list
|