I reviewed NumPy 1.5, Beginner's Guide, posted at barnesandnoble dot
com. While Roger emphasized operations on groups of data, the book
glossed over this greatest benefit of numpy. Nor did the author realize
the possibility to interpret Booleans as numbers for direct computation.
I showed him how to convert an if statement within a loop to a single
expression.
Date: Wed, 14 Dec 2011 11:05:42 -0800
From: Roger Hui <[email protected]>
Subject: [Jchat] grade 7 math class talk
To: Chat Forum <[email protected]>
Message-ID:
<CAMZ_i_BhKeGJNF9dHTAz4aAc
[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
I got myself invited to talk to a grade 7 math class at my kids'
school. I
was given 20 minutes. The following is a record of the session
of my talk,
with my comments added afterwards.
...
2 3 4 - 8 1 7
_6 2 _3
2 3 4 * 8 1 7
16 3 28
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm