From 76b1f2c8185f314335bee5844e35865489324fe0 Mon Sep 17 00:00:00 2001 From: "Nathaniel J. Smith" Date: Sun, 23 Feb 2014 23:35:49 -0500 Subject: switch to just use text for the table, it's easier to read! --- doc/neps/return-of-revenge-of-matmul-pep.rst | 89 +++++++++++++--------------- 1 file changed, 42 insertions(+), 47 deletions(-) diff --git a/doc/neps/return-of-revenge-of-matmul-pep.rst b/doc/neps/return-of-revenge-of-matmul-pep.rst index f4358f817..93bb40046 100644 --- a/doc/neps/return-of-revenge-of-matmul-pep.rst +++ b/doc/neps/return-of-revenge-of-matmul-pep.rst @@ -330,53 +330,48 @@ 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 -each codebase. - -**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 -======= ======= ============ ======= ======== +The **dot** row (marked ``******``) counts how common matrix multiply +operations are in each codebase. + +:: + + ==== ====== ============ ==== ======== + op stdlib scikit-learn nipy combined + ==== ====== ============ ==== ======== + = 2969 5536 4932 3376 / 10,000 SLOC + - 218 444 496 261 + + 224 201 348 231 + == 177 248 334 196 + * 156 284 465 192 + % 121 114 107 119 + ** 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 + -= 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 -- cgit v1.2.1