| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
[skip azp] [skip actions]
Closes gh-21431
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ~ not ^
* = skipped for -
* swap - and = underline in files they are swapped
* * to = in header underline
* - to = and * to - for consitency
* A few more change * -> ~
* use ~ instead of +
* DOC: Fixup `c-api/array.rst` with further ^ with ~ replacement
There is still a fourth level here, which remains using "
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* DOC: contigous -> contiguous
* DOC: enlongated -> elongated
* DOC: thuse -> thus
* DOC: quantityt -> quantity
* DOC: suppled -> supplied
* DOC: intgrally -> integrally
* DOC: assignnent -> assignment
* DOC: homoegeneous -> homogeneous
* DOC: interpereted -> interpreted
* DOC: optimised -> optimized
* DOC: Advantanges -> Advantages
* DOC: realised -> realized
* DOC: parametrizing -> parameterizing
* DOC: realised -> realized
* DOC: intrisics -> intrinsics
* DOC: ablility -> ability
* DOC: intrisic -> intrinsic
* DOC: unversal -> universal
* DOC: machnisms -> mechanisms
* DOC: specfiy -> specify
* DOC: exclution -> exclusion
* DOC: optimzations -> optimizations
* DOC: declrations -> declarations
* DOC: auto-gernreated -> auto-generated
* DOC: it highely recomaned -> it is highly recommended
* DOC: exectuing -> executing
* DOC: strectched -> stretched
* DOC: foriegn -> foreign
* DOC: indeded -> intended
* DOC: multimdimensional -> multidimensional
* DOC: supserseded -> superseded
* DOC: generalisation -> generalization
* FIX: whitespace before comma
|
| |
|
|
| |
Kept the Python code output uniform
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Add conftest.py and pytest.ini files in doc directory
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1. Add `import numpy as np` in rst files
2. Update NumPy repr for array (whitespace)
3. Update bytearray representation
4. Fix tiny output formatting (`<class ...>`, etc)
5. Format tracebacks
6. Skip random number tests or some platform-dependent outputs
7. Add `<matplotlib. ... at 0x...>` or similar output lines where
missing
8. Set seed
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
version needed for random c-api
|
| | |
|
| |
|
|
| |
Add performance benchmarks for PCG64DXSM
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
DOC
Fix typo in random docs `Randomstate` -> `RandomState`
|
| | |
|
| |\
| |
| | |
MAINT: OrderedDict is no longer necessary from Python 3.7
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
|
| |
Based on
https://mail.python.org/pipermail/numpy-discussion/2020-December/081323.html
|
| | |
|
| |
|
| |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* ENH: random: Make _shuffle_raw and _shuffle_int standalone functions.
* ENH: random: Add the method `permuted` to Generator.
The method permuted(x, axis=None, out=None) shuffles an array.
Unlike the existing shuffle method, it shuffles the slices along
the given axis independently.
Closes gh-5173.
|
| |
|
| |
Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
| | |
|
| |
|
|
| |
tests will pass, get rid of directly printing generator object
|
| | |
|
| |
|
|
|
| |
(#16731)
DOC: reword random c-api introduction, cython is documented in Extending
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| | |
|
| |\
| |
| | |
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
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|