diff options
Diffstat (limited to 'doc/neps/generalized-ufuncs.rst')
-rw-r--r-- | doc/neps/generalized-ufuncs.rst | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/doc/neps/generalized-ufuncs.rst b/doc/neps/generalized-ufuncs.rst index b72e9ec33..3d32e7c79 100644 --- a/doc/neps/generalized-ufuncs.rst +++ b/doc/neps/generalized-ufuncs.rst @@ -123,14 +123,19 @@ Notes: Here are some examples of signatures: - - || add || `"(),()->()"` || || - || inner1d || `"(i),(i)->()"` || || - || sum1d || `"(i)->()"` || || - || dot2d || `"(m,n),(n,p)->(m,p)"` || (matrix multiplication) || - || outer_inner || `"(i,t),(j,t)->(i,j)"` || (inner over the last dimension, outer over the second to last, and loop/broadcast over the rest.) || - - ++-------------+--------------------------+-----------------------------------+ +| add | ``"(),()->()"`` | | ++-------------+--------------------------+-----------------------------------+ +| inner1d | ``"(i),(i)->()"`` | | ++-------------+--------------------------+-----------------------------------+ +| sum1d | ``"(i)->()"`` | | ++-------------+--------------------------+-----------------------------------+ +| dot2d | ``"(m,n),(n,p)->(m,p)"`` | matrix multiplication | ++-------------+--------------------------+-----------------------------------+ +| outer_inner | ``"(i,t),(j,t)->(i,j)"`` | inner over the last dimension, | +| | | outer over the second to last, | +| | | and loop/broadcast over the rest. | ++-------------+--------------------------+-----------------------------------+ C-API for implementing Elementary Functions ------------------------------------------- |