summaryrefslogtreecommitdiff
path: root/doc/neps
diff options
context:
space:
mode:
authorJarrod Millman <millman@berkeley.edu>2008-11-16 09:00:44 +0000
committerJarrod Millman <millman@berkeley.edu>2008-11-16 09:00:44 +0000
commitd0d9ce4349ef95a85fdc81d2d58ef7967b2c1f41 (patch)
treebb1f92912ff9eed632247def5fb4cc00bb72c734 /doc/neps
parent4fe3f981acc8fc5d98b80db142654190a807a066 (diff)
downloadnumpy-d0d9ce4349ef95a85fdc81d2d58ef7967b2c1f41.tar.gz
fixed table
Diffstat (limited to 'doc/neps')
-rw-r--r--doc/neps/generalized-ufuncs.rst21
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
-------------------------------------------