summaryrefslogtreecommitdiff
path: root/doc/source/reference/ufuncs.rst
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add doc for copysign in numpy doc.David Cournapeau2009-07-011-0/+1
|
* Merge from the doc wikiPauli Virtanen2009-03-241-3/+3
|
* Add preliminary docstrings for:Charles Harris2008-11-281-19/+22
| | | | | | | log2, exp2, logaddexp, logaddexp2, rad2deg, deg2rad. The complete docstring for fmin and fmax are on the web but haven't yet been merged.
* Moved numpy-docs under doc/ in the main Numpy trunk.Pauli Virtanen2008-11-231-0/+555