This the data I want to use:
a=:*
b=:i:5
c=:i.3
]d=:(<c),<b
┌─────┬──────────────────────────┐
│0 1 2│_5 _4 _3 _2 _1 0 1 2 3 4 5│
└─────┴──────────────────────────┘
This this is the correct result with the wrong data:
a=:'*'
f=: 1 :',.(":u),":,.>{.y'
a f d
*
0
1
2
Here is the error I can’t fix:
a=:*
g=: 1 :',.(":u),":,.>{.y'
a g d
|domain error: a
| ,. (":u),":,.>{.y
Is there a way to make g work correctly?
Linda
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Roger Hui
Sent: Sunday, November 03, 2013 7:02 PM
To: Programming forum
Subject: Re: [Jprogramming] Times Table Therapy
> My first adverb! Linda
Given the topic and the person, it seems appropriate to point out that Ken
Iverson credited Linda Alvord for getting over a pedagogic hurdle.
From *Kenneth
E. Iverson <http://www.jsoftware.com/papers/autobio.htm>*, 2008, section 5:
There were also surprises in the writing. Although the great utility of
matrices was recognized (as in a 3-by-2 to represent a triangle), there was a
great reluctance to use them because the concept was considered to be too
difficult.
Linda Alvord said to introduce the matrix as an outer product — an idea that
the rest of us thought outrageous, until Linda pointed out that the kids
already knew the idea from familiar addition and multiplication tables.
On Sun, Nov 3, 2013 at 7:04 AM, Linda Alvord <[email protected]>wrote:
>
> My first adverb! Linda
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm