diff options
Diffstat (limited to 'doc/source/reference/ufuncs.rst')
-rw-r--r-- | doc/source/reference/ufuncs.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/reference/ufuncs.rst b/doc/source/reference/ufuncs.rst index acf9bf330..2ae794f59 100644 --- a/doc/source/reference/ufuncs.rst +++ b/doc/source/reference/ufuncs.rst @@ -274,6 +274,15 @@ types, are interpreted accordingly in ufuncs) without worrying about whether the precision of the scalar constant will cause upcasting on your large (small precision) array. + +Overriding Ufunc behavior +========================= + +Classes (including ndarray subclasses) can override how ufuncs act on +them by defining certain special methods. For details, see +:ref:`arrays.classes`. + + :class:`ufunc` ============== |