summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNathaniel J. Smith <njs@pobox.com>2014-02-23 23:23:59 -0500
committerNathaniel J. Smith <njs@pobox.com>2014-02-23 23:23:59 -0500
commit5bb44e47ed7359ffb0c51a9fdabde381107fdb01 (patch)
treebc86a9e0dda3f2491478b477e1a2b3f759c92b77 /doc
parent8041598a6be5d9944e1969da8e5840a7631378bb (diff)
downloadnumpy-5bb44e47ed7359ffb0c51a9fdabde381107fdb01.tar.gz
more table format tweaking. too bad .rst sucks at this!
Diffstat (limited to 'doc')
-rw-r--r--doc/neps/return-of-revenge-of-matmul-pep.rst89
1 files changed, 45 insertions, 44 deletions
diff --git a/doc/neps/return-of-revenge-of-matmul-pep.rst b/doc/neps/return-of-revenge-of-matmul-pep.rst
index 4d7379146..f4358f817 100644
--- a/doc/neps/return-of-revenge-of-matmul-pep.rst
+++ b/doc/neps/return-of-revenge-of-matmul-pep.rst
@@ -330,52 +330,53 @@ combined column is thus strongly weighted towards the stdlib, which is
much larger than both projects put together (stdlib: 411575 SLOC,
scikit-learn: 50924 SLOC, nipy: 37078 SLOC). [#sloc-details]
-The ``dot`` row counts how common matrix multiply operations are in
+The **dot** row counts how common matrix multiply operations are in
each codebase.
-Table units: Average occurrences per 10,000 SLOC.
-
-============= ======= ============ ======= ========
- Op stdlib scikit-learn nipy combined
-============= ======= ============ ======= ========
- ``=`` 2969 5536 4932 3376
- ``:`` 3011 2380 2658 2921
- ``-`` 218 444 496 261
- ``+`` 224 201 348 231
- ``==`` 177 248 334 196
- ``*`` 156 284 465 192
- ``%`` 121 114 107 119
- ``}`` 106 56 63 98
- ``{`` 106 56 63 98
- ``**`` 59 111 118 68
- ``!=`` 40 56 74 44
- ``/`` 18 121 183 41
- ``>`` 29 70 110 39
- ``+=`` 34 61 67 39
- ``<`` 32 62 76 38
- ``>=`` 19 17 17 18
- ``<=`` 18 27 12 18
-**``dot``** **0** **99** **74** **16**
- ``|`` 18 1 2 15
- ``&`` 14 0 6 12
- ``<<`` 10 1 1 8
- ``//`` 9 9 1 8
-``...`` 7 2 32 8
- ``-=`` 5 21 14 8
- ``*=`` 2 19 22 5
- ``/=`` 0 23 16 4
- ``>>`` 4 0 0 3
- ``^`` 3 0 0 3
- ``~`` 2 4 5 2
- ``|=`` 3 0 0 2
- ``&=`` 1 0 0 1
-``//=`` 1 0 0 1
- ``^=`` 1 0 0 0
-``**=`` 0 2 0 0
- ``%=`` 0 0 0 0
-``<<=`` 0 0 0 0
-``>>=`` 0 0 0 0
-============= ======= ============ ======= ========
+**Table units: Average occurrences per 10,000 SLOC.** (NB: table may be
+easier to read in .rst source.)
+
+======= ======= ============ ======= ========
+ Op stdlib scikit-learn nipy combined
+======= ======= ============ ======= ========
+ ``=`` 2969 5536 4932 3376
+ ``:`` 3011 2380 2658 2921
+ ``-`` 218 444 496 261
+ ``+`` 224 201 348 231
+ ``==`` 177 248 334 196
+ ``*`` 156 284 465 192
+ ``%`` 121 114 107 119
+ ``}`` 106 56 63 98
+ ``{`` 106 56 63 98
+ ``**`` 59 111 118 68
+ ``!=`` 40 56 74 44
+ ``/`` 18 121 183 41
+ ``>`` 29 70 110 39
+ ``+=`` 34 61 67 39
+ ``<`` 32 62 76 38
+ ``>=`` 19 17 17 18
+ ``<=`` 18 27 12 18
+**dot** **0** **99** **74** **16**
+ ``|`` 18 1 2 15
+ ``&`` 14 0 6 12
+ ``<<`` 10 1 1 8
+ ``//`` 9 9 1 8
+``...`` 7 2 32 8
+ ``-=`` 5 21 14 8
+ ``*=`` 2 19 22 5
+ ``/=`` 0 23 16 4
+ ``>>`` 4 0 0 3
+ ``^`` 3 0 0 3
+ ``~`` 2 4 5 2
+ ``|=`` 3 0 0 2
+ ``&=`` 1 0 0 1
+``//=`` 1 0 0 1
+ ``^=`` 1 0 0 0
+``**=`` 0 2 0 0
+ ``%=`` 0 0 0 0
+``<<=`` 0 0 0 0
+``>>=`` 0 0 0 0
+======= ======= ============ ======= ========
These numerical packages together contain ~780 uses of matrix
multiplication. Within these packages, matrix multiplication is used