summaryrefslogtreecommitdiff
path: root/numpy/lib/mixins.py
Commit message (Collapse)AuthorAgeFilesLines
* ENH: add divmod support to NDArrayOperatorsMixinStephan Hoyer2017-05-071-3/+5
|
* ENH: add __pos__ to NDArrayOperatorsMixinStephan Hoyer2017-04-301-2/+3
|
* MAINT: Set the __name__ of generated methodsEric Wieser2017-04-271-30/+37
| | | | Barely useful, but means that the function name is helpful if printed.
* ENH: NDArrayOperatorsMixin calls ufuncs directly, like ndarrayStephan Hoyer2017-04-271-30/+29
| | | | | | | | | * ENH: NDArrayOperatorsMixin calls ufuncs directly, like ndarray Per our discussion in https://github.com/numpy/numpy/pull/8247#discussion_r112825050 * add back in accidentally dropped __repr__
* BUG: Fix ArrayLike(NDArrayOperatorsMixin) operations with object()Stephan Hoyer2017-04-271-6/+11
|
* ENH: Add NDArrayOperatorsMixin mixin class.Stephan Hoyer2017-04-271-0/+167
This mixin class provides an easy way to implement arithmetic operators that defer to __array_ufunc__ like numpy.ndarray in non-ndarray subclasses.