summaryrefslogtreecommitdiff
path: root/doc/source/reference/ufuncs.rst
Commit message (Collapse)AuthorAgeFilesLines
* DOC: fix default __array_priority__ in ufunc docsIsaac Virshup2019-06-221-1/+1
| | | Changed default value of `__array_priority__` to correct value.
* DOC: Add docstrings for consistency in aliaseskritisingh12019-04-161-0/+1
|
* DOC: fixes from reviewmattip2019-02-281-1/+1
|
* DOC: reduce warnings when building, reword, tweak doc buildingmattip2019-02-281-2/+2
|
* DOC: Describe new axis argument.Marten van Kerkwijk2018-06-071-1/+12
| | | | Both in the general documentation and in the release notes.
* DOC: Clarify C-API for generalized ufuncs.mattip2018-05-281-2/+2
|
* DOC: Describe new keepdims arguments (and axes).Marten van Kerkwijk2018-05-181-0/+12
| | | | | | Both in the general documentation and in the release notes. For the latter, also include a description of ``axes``, which was missing so far.
* DOC: Mention we can return unitinitialized values (#11086)Matti Picus2018-05-151-0/+10
| | | | | | | | | | | | * DOC: mention we can return unitinitialized values * squash and rebase, extend explanation and improve docstring template * MAINT: Spelling fixes for docstrings. [ci skip] * MAINT: Update following feedback.
* DOC: describe axes keyword in ufunc documentation.Marten van Kerkwijk2018-02-271-0/+14
|
* ENH: Add gcd and lcm ufuncsEric Wieser2017-12-121-0/+2
| | | | Fixes #8772
* DOC:: Clarify the two ufunc signature types.Charles Harris2017-11-271-1/+3
| | | | | | The `ufunc.signature` attribute is the generalized ufunc signature, while the optional `signature` parameter in `ufunc.__call__` refers to the loop type. [ci skip].
* MAINT: Fix use of parenthesis. Charles Harris2017-11-271-1/+1
| | | [ci skip]
* DOC: Update ufunc documentation to mention generalized ufuncs.Marten van Kerkwijk2017-11-251-9/+22
| | | | | Also ensure that __array_ufunc__ is referenced in the output type determination.
* DOC: Add isnat/positive ufunc to documentation [skip ci]Michael Seifert2017-06-141-1/+2
|
* DOC: Update ufunc documentation (#9141)Shitian Ni2017-05-191-3/+5
| | | | | | | * DOC: Update ufuncs.rst to mention the option of an axis tuple fixes issue gh-9131. ufuncs.rst now mentions that the axis may be assigned a tuple of int for reduce. Also fixed broken "{op}.reduce" link on the webpage in the same article.
* DOC: update documentation allowing tuple of one in reduce, etc.Marten van Kerkwijk2017-05-171-3/+6
|
* Merge pull request #9026 from eric-wieser/ufunc_docstringsCharles Harris2017-05-091-0/+2
|\ | | | | ENH: Show full PEP 457 argument lists for ufuncs
| * DOC: Refer to main ufunc docs for kwargsEric Wieser2017-05-081-0/+2
| |
* | ENH: Spelling fixesVille Skyttä2017-05-091-1/+1
|/
* ENH: add np.divmod ufuncStephan Hoyer2017-05-071-0/+1
|
* ENH: add np.positive ufunc and use it for ndarray.__pos__Stephan Hoyer2017-04-301-0/+1
| | | | xref GH8932
* DOC: implement many smaller and bigger changes suggested in review.Marten van Kerkwijk2017-04-271-0/+2
|
* DOC: Corrected links for several __array_*__ functionsMichael Seifert2017-03-271-11/+11
|
* Merge pull request #8830 from MSeifert04/missing_whitespace_before_directiveCharles Harris2017-03-241-1/+1
|\ | | | | DOC: added a whitespace so that sphinx directive displays correctly
| * DOC: added a whitespace so that sphinx directive displays correctlyMichael Seifert2017-03-251-1/+1
| |
* | DOC: Add 'heaviside' to the ufunc documentation.Warren Weckesser2017-03-231-0/+1
|/
* change all non-code instances of Numpy to NumPyPierre de Buyl2016-09-061-2/+2
| | | | | | | | | Instances remain for NumpyVersion and Numpy.rec.fromarrays that are references to code. Release notes were left unchanged. see issue #7986
* DOC: Include docstring for cbrt, spacing and fabs in ufuncs-documentation ↵Michael Seifert2016-08-291-0/+4
| | | | [skip ci]
* DOC: Remove "ones_like" from ufuncs list (it is not)John Zwinck2016-06-141-1/+0
| | | | Mentioned here: http://stackoverflow.com/questions/37625478/why-is-ones-like-listed-as-a-ufunc
* DOC: Remove isreal and iscomplex from ufunc listEdward Richards2016-05-041-2/+0
| | | | | | | I do not think that these two function are ufuncs since they do not have an optional [, out] argument. From the doc: - All ufuncs can also take output arguments.
* DOC: Clean up/fix several references to the "future" 1.10 releaseNathaniel J. Smith2016-01-141-2/+2
| | | | Fixes gh-7010
* DOC: 'signature' preferred over 'sig' as ufunc keyword argumentJaime Fernandez2015-03-121-3/+6
|
* ENH: Strict checking of ufunc keyword argument namesJaime Fernandez2015-03-091-1/+1
| | | | | | | Raises a TypeError if any of the keyword arguments supplied to a ufunc does not exactly match the name in the signature. Prior to this, trailing characters were discarded, e.g. 'out2' would be treated as if it where 'out'.
* ENH: ufuncs can take a tuple of arrays as 'out' kwargJaime Fernandez2015-03-081-1/+14
| | | | Closes #4752
* MAINT: Change default inplace, ufunc(...,out=x) casting to same_kind.Charles Harris2014-05-061-9/+8
| | | | | | There has been a warning of this change since numpy 1.7. numpy 1.10 is a good time to do it. The nanvar function needed a fix after the change, and the tests and documentation are updated.
* DOC: improve __numpy_ufunc__ documentationPauli Virtanen2013-09-151-0/+9
| | | | | Cross-reference it from Ufunc documentation and mention the version it was added.
* Update docsJay Bourque2013-08-161-3/+4
|
* Add documentation for new 'at' ufunc methodJay Bourque2013-08-161-0/+6
|
* DOC: add fmax/fmin to ufuncs list and math routines listendolith2013-05-191-0/+4
|
* DOC: Document NPY_RELAXED_STRIDES_CHECKING changesSebastian Berg2013-04-111-3/+3
| | | | | | This includes documentation in the release notes, as well as the reference guide and smaller corrections. Thanks to Nathaniel for major rewriting this.
* FIX: Transition scheme for safer in-place ufunc operationsNathaniel J. Smith2012-09-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In numpy 1.6 and earlier, if you do np.add(int_arr, float_arr, out=int_arr) or int_arr += float_arr then the result will be silently truncated to integer values. This often produces bugs, because it's easy to accidentally end up with an integer array and not realize it. Therefore, there seems to be consensus that we should switch to using same_kind casting by default for in-place ufunc operations. However, just switching this (as was done initially during the 1.7 development cycle) breaks a lot of code, which is rude and violates our deprecation policy. This commit instead adds a special temporary casting rule which acts like "unsafe", but also checks whether each operation would be allowed under "same_kind" rules and issues a DeprecationWarning if not. It also moves NPY_DEFAULT_ASSIGN_CASTING into the formal API instead of leaving it as a #define. This way we can change it later, and any code which references it and is compiled against this version of numpy will automatically switch to whatever we change it too. This avoids the situation where we want to remove the temporary magic value we're using to create DeprecationWarnings now, but can't because it would be an ABI break.
* DOC: Document the ufunc 'where=' parameter and the NpyAuxData C API mechanismMark Wiebe2011-07-061-0/+8
|
* DOC: Document the new keyword arguments for ufuncsMark Wiebe2011-04-221-0/+39
|
* DOC: Improve the documentation about type promotionMark Wiebe2011-04-221-3/+9
|
* ENH: Rename the half character code from 'j' to 'e'Mark Wiebe2010-12-011-2/+2
|
* DOC: core: Update docs for half/float16 typeMark Wiebe2010-12-011-26/+30
|
* second set of checkins from doc editorJarrod Millman2009-11-131-1/+1
|
* DOC: mention nextafter ufunc in the release notes and reference.David Cournapeau2009-11-041-0/+1
|
* Docstring update: doc/source/referencePauli Virtanen2009-10-021-84/+87
|
* add support for __array_prepare__Darren Dale2009-08-231-8/+13
|