| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add documentation for the new build infrastructure and API developed to enable
universal intrinsics. Written by @seiko2plus with some fixes by @mattip.
* DOC: add SIMD optimization doc (seiko2plus)
* DOC: reformat as valid RST
* trim whitespace
* first part of Understanding CPU Dispatching
* update build options and remove implied features, gonna update it later
* add more explanations for the dispatcher and fix doc style
* fix up style
* add figure
* Improve and more explanations for Understanding CPU Dispatching
* fix up syntax
* DOC: tweak formatting
* DOC: more tweaks
* fix rst formatting
* DOC: Generate CPU features tables from CCompilerOpt
* DOC: move files around
* DOC: add comment to top of file
* DOC: rebuild tables, fix links
* DOC: minor copyedits
Co-authored-by: Sayed Adel <seiko@imavr.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
|
|
|
|
| |
Improve wording
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| |
|
|
|
|
| |
quickstart documentation section on basic iteration
|
|\
| |
| | |
DOC: Remove redundant word
|
| | |
|
| |
| |
| |
| |
| | |
(#16731)
DOC: reword random c-api introduction, cython is documented in Extending
|
|/
|
|
|
| |
Fixes link in See also section of np.memmap docs and ensures
open_memmap is included in the summary of io functions.
|
|\
| |
| | |
ENH: enable multi-platform SIMD compiler optimizations
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implement new distutils class `CCompilerOpt`, used for handling
the CPU/hardware optimization, starting from parsing the
command arguments, to managing the relationship between the CPU baseline
and dispatch-able features, also generating the required C headers
and ending with compiling the sources with proper compiler's flags.
`CCompilerOpt` mainly used as a helper class for `CCompiler`,
and doesn't provide any runtime detection for the CPU features,
instead only focuses on the compiler side, but it generates
abstract C headers that can be used later for the final
runtime dispatching process.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* DOC: Fixes for 18 broken links
This, with PR #16465, should fix nearly all the remaining broken links
on the site. 4 or 5 others should be easy to fix and just
need attention from someone more knowledgeable -- will
open an issue. For release notes with dead links,
I could usually find links on archive.org for roughly contemporary
versions.
* DOC: Update to "Fixes for 18 broken links #16472"
* Obsolete links, previously commented out, now deleted:
https://github.com/numpy/numpy/pull/16472#discussion_r433928958
* Semantic markup for reference to Python class:
https://github.com/numpy/numpy/pull/16472#discussion_r433553928
* Missing :ref: in internal link:
https://github.com/numpy/numpy/pull/16472#discussion_r433554484
Not included: Resolution on using external/internal doc link in .py:
https://github.com/numpy/numpy/pull/16472#discussion_r433554824
* DOC: Add internal link for 'Fixes for 18 broken links' PR #16472
Making reference [1] an internal link in function_base.py => numpy.vectorize.html
* DOC: Redirect 2 link fixes in PR #16472
* governance.rst link reverted
* ununcs.rst `overridden` link goes where it was meant to
per https://github.com/numpy/numpy/pull/16472#pullrequestreview-424666070
|
|\
| |
| | |
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.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
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: Add axis to random module "new or different" docs
|
| | |
| | |
| | |
| | |
| | | |
Added `permutation` to `choice` and `shuffle` in the list of
highlighted methods with an `axis` kwarg.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Modified the introductory/overview documentation for the random
module to highlight the addition of the `axis` kwarg to
methods like `shuffle` and `choice` for dealing with
multi-dimensional arrays.
Related to gh-16075
|
|\ \ \
| | | |
| | | | |
ENH: Allow toggling madvise hugepage and fix default
|
| | | | |
|
| | | |
| | | |
| | | | |
Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu>
|
| | |/
| |/|
| | |
| | |
| | | |
These are options that are controlled typically through environment
variable at startup or compile time.
|
| | | |
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
Limiting the number of loops performed in the %timeit evaluation
results in a ~20% speedup in the time it takes to build the
documentation.
The results of the "benchmarking" are less accurate from the limited
number of evaluations, but the relationship between the timing
between the legacy and Generator sampling methods is preserved.
|
| |
| |
| | |
Add missing closing brackets, script to generate the list in the PR gh-16051.
|
| |
| |
| |
| |
| | |
* Update doc/source/reference/arrays.ndarray.rst
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| |
| |
| |
| | |
This has been the default for a very long time, so this was
incorrect and mentioning any versions is probably not helpful.
|
|\ \
| | |
| | | |
DOC: document inconsistency between the shape of data and mask in numpy.ma
|
| | |
| | |
| | | |
Co-Authored-By: Sebastian Berg <sebastian@sipsolutions.net>
|
| | |
| | |
| | |
| | | |
Co-Authored-By: Tianxiang “Ronnie” Gao <tienhsiangkao@tamu.edu>
|
| | | |
|
|\ \ \
| | | |
| | | | |
DOC: First steps towards docs restructuring (NEP 44)
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* DOC: skip f2py fortran and arrays.nditer cython tests for refguide_check
* DOC: fix formatting of doc tests and improper use of nditer
|
|/ / /
| | |
| | |
| | |
| | | |
types (#15816)
Cleanup from the dropping of python 2
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
According to the docs, the list can be of lengths 1, 2, or 3, but only
length 3 appears to work:
```
>>> import numpy as np
>>> np.sin(1, extobj=[16, 1, lambda: None])
0.8414709848078965
>>> np.sin(1, extobj=[16, 1])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: UFUNC_PYVALS must be a length 3 list.
>>> np.sin(1, extobj=[16])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: UFUNC_PYVALS must be a length 3 list.
```
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(gh-15463)
xref gh-14778
As pointed out in the comment by @jamesthomasgriffin, we did not include a pxd file to expose the distribution functions documented in the random c-api. This PR adds a c_distributions.pxd file that exposes them.
Squashed commits:
* BUG: add missing c_distributions.pxd to enable cython use of random C-API
* ENH, TST: add npyrandom library like npymath, test cython use of it
* BUG: actually prefix f-string with f
* MAINT: fixes from review, add _bit_generato_bit_generator.pxd
* STY: fixes from review
* BLD: don't use nprandom library for mtrand legacy build
* TST: WindowsPath cannot be used in subprocess's list2cmdline
* MAINT, API: move _bit_generator to bit_generator
* DOC: add release note about moving bit_generator
* DOC, MAINT: fixes from review
* MAINT: redo dtype determination from review
|
|
|
| |
* DOC: Refactor polynomial docs using automodule.
|
|
|
|
|
| |
* DOC: fix coremath.rst to fix refguide_check
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
|\
| |
| | |
DOC: update datetime reference to pass refguide
|
| |
| |
| | |
Co-Authored-By: Eric Wieser <wieser.eric@gmail.com>
|
| | |
|