summaryrefslogtreecommitdiff
path: root/doc/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Update doc/source/user/tutorial-svd.rstMelissa Weber Mendonça2020-01-241-1/+1
| | | | | | | | | Co-Authored-By: Anne Bonner <35413198+bonn0062@users.noreply.github.com>
| * | Update doc/source/user/tutorial-svd.rstMelissa Weber Mendonça2020-01-241-2/+1
| | | | | | | | | Co-Authored-By: Anne Bonner <35413198+bonn0062@users.noreply.github.com>
| * | Addressing comments on PR.Melissa Weber Mendonça2020-01-211-133/+105
| | |
| * | DOC: Added tutorial about linear algebra on multidimensional arraysMelissa Weber Mendonça2020-01-082-0/+469
| | |
* | | Merge pull request #15624 from pdebuyl/fix_refguide_dtypesCharles Harris2020-02-241-9/+10
|\ \ \ | | | | | | | | DOC: fix printing, np., deprecation for refguide
| * | | DOC: fix printing, np., deprecation for refguidePierre de Buyl2020-02-211-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecation fixes: - Change Float64 example to float64. - Remove shape=(1,) example for type strings. Add missing np prefix. Fix output to match current NumPy printing.
* | | | DOC: remove broken link in f2py tutorialmattip2020-02-231-6/+3
|/ / /
* | | Adding @mattip suggestionAlexandre de Siqueira2020-02-141-3/+3
| | |
* | | Removing bad practices from quick start + some PEP8Alexandre de Siqueira2020-02-131-32/+28
| | | | | | | | | | | | | | | | | | | | | Hey y'all, here I am replacing `.shape = ` with `.reshape`. There is some PEP8 changes, but not that much. Some issues arise from that, mainly in "Copies and views". I think this section should be rewritten with other examples. Thoughts everyone? Thanks!
* | | Merge pull request #15465 from mwtoews/importsSebastian Berg2020-02-072-3/+0
|\ \ \ | | | | | | | | MAINT: cleanup unused imports; avoid redefinition of imports
| * | | MAINT: cleanup unused imports; avoid redefinition of importsMike Taves2020-02-062-3/+0
| | |/ | |/| | | | | | | | | | | | | | | | * Cleanup unused imports (F401) of mostly standard Python modules, or some internal but unlikely referenced modules * Where internal imports are potentially used, mark with noqa * Avoid redefinition of imports (F811)
* | | update doctests, small bugs and changes of reprPierre de Buyl2020-02-065-58/+69
|/ / | | | | | | | | | | | | | | | | | | Fix missing np prefix. Fix missing definitions. Use print function instead of the statement. Add seed to make output repeatable.
* | Merge pull request #15427 from seberg/deprecate-unused-c-apiMatti Picus2020-02-022-72/+16
|\ \ | | | | | | DEP: Schedule unused C-API functions for removal/disabling
| * | DEP: Deprecate PyUFunc_GenericFunction public C-API functionSebastian Berg2020-01-311-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function provides mainly the same API as PyObject_Call() with the exception of skipping ufunc overrides and output array wraps. It is fairly unwieldy to use, since ownership of all inputs and outputs is transferred, but otherwise it still uses args and kwargs as inputs. As such, no known usage exists and PyObject_Call seems a reasonable replacement for possible usage. Keeping it around means that we would may have to add tests or risk breaking this function when ufunc code is refactored.
| * | DEP: Schedule PyArray_GetArrayParamsFromObject for removalSebastian Berg2020-01-311-63/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function has no known usage outside of NumPy. It is fairly complex to use due to how it behaves with scalars, and, at least with a given "flexible" dtype would require additional access to the private PyArray_AdaptFlexibleDType function. Removing the function from public API will simplify refactor work of the dtype and dimension recovery.
* | | Merge pull request #15338 from mattip/site.cfgCharles Harris2020-01-312-1/+13
|\ \ \ | | | | | | | | DOC: document site.cfg.example
| * | | DOC: link and cleanup docstrings in site.cfg.examplemattip2020-01-202-1/+13
| | | |
* | | | update result of rng.random(3) to current rng outputPierre de Buyl2020-01-301-1/+1
| | | | | | | | | | | | | | | | part of #14970
* | | | DOC: fix docstrings so `python tools/refguide-check --rst <file> runs (#15439)Matti Picus2020-01-292-237/+300
| | | | | | | | | | | | | | | | DOC: fix docstrings so `python tools/refguide-check --rst <file> runs
* | | | STY,MAINT: avoid 'multiple imports on one line' (flake8 E401)Mike Taves2020-01-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | * PEP 8: "Imports should usually be on separate lines" * Where modified, sort imported modules alphabetically * Clean-up unused imports from these expanded lines
* | | | Merge pull request #15429 from WarrenWeckesser/config-docstringEric Wieser2020-01-271-0/+1
|\ \ \ \ | | | | | | | | | | DOC: distutils: Add a docstring to show_config().
| * | | | DOC: distutils: Add a docstring to show_config().Warren Weckesser2020-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to Sergey Kojoian for the original patch to create the docstring. Closes gh-9258.
* | | | | DOC: Fix Incorrect documentkishimoto-banana2020-01-261-5/+5
|/ / / /
* | | | DOC: Fix Multithreaded Generation example docs (gh-15367)Fabio Zeiser2020-01-241-29/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code examples did not actually run correctly and had a bug. They were also never updated to use SeedSequence correctly. This fixes both. * DOC, BUG: Fixes Multithreaded Generation docs Working on #15365 The code runs now, but I get quite different runtimes than in the example. May need some more work * DOC: changes after PR review * DOC: Changing input/output lines to sphinx standard For ipython example: Adding `Out[i]` where i is the input cell number and correcting vissual multiline inputs * MAINT: Replace `jumped` by `SeedSequence` in multithreading snippet After PR review, decided to replace `jumped` by `SeedSequence` as it is a more general method. Adopted the introduction to reflect this. Also added a section on the reproducibility for different machines and number of threads + an example. * MAINT: Changes after PR review - Switch back to default_rng() instead of the Generator(BitGenerator)) syntax pursuant @rkern 's explanation in #15391 - small fixes * MAINT: Delete unneccesary reference to PCG64 * MAINT: Added newline finxing codeblock error in docs Trying to see whether this fixes circleci error * MAINT: Clean up in imports of code snippet
* | | | MAINT: Const qualify UFunc inner loops (gh-15355)Kai Striega2020-01-211-30/+32
| |/ / |/| | | | | | | | | | | 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
* | | DOC: NumPy for absolute beginners tutorial (#14546)Anne Bonner2020-01-2138-0/+1694
| | | | | | | | | | | | | | | | | | | | | This absolute beginners tutorial is the output of Anne's Google Season of Docs project. An intermediate version was also published at https://towardsdatascience.com/the-ultimate-beginners-guide-to-numpy-f5a2f99aef54
* | | DOC: Updating f2py docs to python 3 and fixing some typos (#15303)Melissa Weber Mendonça2020-01-1918-188/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updated f2py "Getting Started" doc to python3. * WIP: updating f2py docs to python3: intro to python-usage done. * WIP: updated "Scalar Arguments" session of python-usage.rst * WIP: updated "String arguments" section of python-usage.rst. TODO check for string bug here. * WIP: updated "Array arguments" section of python-usage.rst * WIP: updated "Callback arguments" section in python-usage.rst * WIP: updated sections "Common blocks" and "F90 module data" from python-usage.rst * Finished update of python-usage.rst * WIP: updating usage.rst * PEP8 fix for equal sign and added note about building extension modules. * Finished update of usage.rst * Remove future imports from f2py example. * Fixed typos. * Fixed typo. * Updated f2py "Getting Started" doc to python3. * Finished update of python-usage.rst * Finished update of usage.rst * Fixed typos. * Addressing comments on PR. * Addressing PR review; closes gh-14812; fixes gh-14919; closes gh-14960; fixes gh-14865; fixes gh-14862 * Restore names of common block items.
* | | Merge pull request #15118 from mattip/cleanup-array-callSebastian Berg2020-01-161-11/+10
|\ \ \ | |/ / |/| | API: remove undocumented use of __array__(dtype, context)
| * | MAINT: remove undocumented use of context in __array__(dtype, context)mattip2020-01-161-11/+10
| | |
* | | DEP: Deprecate `->f->fastclip` at registration timeSebastian Berg2020-01-151-1/+11
| | | | | | | | | | | | | | | This adds the additional deprecation of fastclip if it is set at registration time instead of only testing that it is never used.
* | | Merge pull request #14942 from seberg/clean-fasttakeMatti Picus2020-01-161-2/+10
|\ \ \ | | | | | | | | MAINT,API: ignore and NULL fasttake/fastputmask ArrFuncs slots
| * | | DEP: Actually deprecate fasttake and fastclipmaskSebastian Berg2020-01-151-2/+10
| | | |
* | | | DOC: fix typosBrian Wignall2020-01-146-11/+11
| |/ / |/| |
* | | DOC: BLD: add empty release notes for 1.19.0 to fix doc build errorRalf Gommers2020-01-072-3/+9
| |/ |/| | | | | | | | | | | | | Was discussed before in gh-15042 but forgotten about. Sphinx now complains about this missing file, and warnings get turned into errors in some cases in our build setup. [ci skip]
* | Merge pull request #15264 from hippo91/missing_ufuncs_in_docMatti Picus2020-01-071-0/+4
|\ \ | | | | | | DOC: Add some missing functions in the list of available ufuncs.
| * | DOC: Add some missing functions in the list of available ufuncs.hippo912020-01-061-0/+4
| | | | | | | | | | | | See #15214
* | | MAINT: Post NumPy 1.18.1 update.Charles Harris2020-01-062-0/+53
| |/ |/| | | | | | | | | - Add 1.18.1-changelog.rst - Add 1.18.1-notes.rst - Update release.rst
* | MAINT: Improve const-correctness of shapes and stridesEric Wieser2020-01-061-1/+1
| | | | | | | | | | | | Marking these arguments as const makes it easier to reason about these functions, and prevent accidental mutation. The C99 standard (6.2.5/26 "Types") guarantees that ABI compatibility is preserved here.
* | MAINT: Remove implicit inheritance from object class (#15236)Jon Dufresne2020-01-051-1/+1
| | | | | | | | | | | | | | 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.
* | Merge pull request #15232 from sethtroisi/remove_python3_part3Matti Picus2020-01-041-87/+0
|\ \ | | | | | | MAINT: Cleaning up PY_MAJOR_VERSION/PY_VERSION_HEX
| * | Cleaning up PY_MAJOR_VERSION/PY_VERSION_HEXSeth Troisi2020-01-031-87/+0
| | |
* | | Merge pull request #14376 from jdufresne/futureSebastian Berg2020-01-033-8/+0
|\ \ \ | |/ / |/| | MAINT: Remove unnecessary 'from __future__ import ...' statements
| * | MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-033-8/+0
| | | | | | | | | | | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* | | MAINT: Remove Python2 specific C module setup (gh-15231)Seth Troisi2020-01-031-16/+0
|/ / | | | | | | | | 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.
* | DOC: typo in release.rstmattip2020-01-031-2/+2
| |
* | Merge pull request #15205 from rossbar/doc/quickstartRalf Gommers2020-01-021-17/+27
|\ \ | | | | | | DOC: Improvements to Quickstart Tutorial.
| * | DOC: Improvements to Quickstart Tutorial.Ross Barnowski2019-12-301-17/+27
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Modified reference to array creation with a list to the more general term 'sequence'. Also removed the 'numeric' distinction. * Updated reference to arange to reflect that as of Python 3, the python built-in range does not return a list. * Fixed 'see also' references to invert and r_ which were not linked properly. * Replaced referenced to ma.row_stack with the more general row_stack. Added additional detail about the aliasing of vstack. * Updated array stacking example to include proper rST python syntax.
* | REL: Update master after NumPy 1.16.6 and 1.17.5 releases.Charles Harris2020-01-013-0/+134
|/ | | | | | | | | | - Add 1.16.6-changelog.rst - Add 1.17.5-changelog.rst - Add 1.16.6-notes.rst - Add 1.17.5-notes.rst - Update doc/source/release.rst [skip ci]
* DOC: Added note about LaTeX requirementRoss Barnowski2019-12-291-0/+5
| | | | | Building the html docs from source requires a working LaTeX build environment to get the equations rendered properly.
* DOC: Initialize submodules to build docs.Ross Barnowski2019-12-291-0/+11
| | | | | | Added instructions to the developer guide on initializing the submodules containing numpydoc and the scipy sphinx theme before building the documentation.