Is this the behavior you want?

   T =: 2 2 $ +/`|:`|.`(-/ .*)
    T i. 2 2
 2
    T i. 3 3
 2
    T
 +-------+---------------+
 |+-+---+||:             |
 ||/|+-+||               |
 || ||+|||               |
 || |+-+||               |
 |+-+---+|               |
 +-------+---------------+
 ||.     |+-+-----------+|
 |       ||.|+-------+-+||
 |       || ||+-+---+|*|||
 |       || |||/|+-+|| |||
 |       || ||| ||-||| |||
 |       || ||| |+-+|| |||
 |       || ||+-+---+| |||
 |       || |+-------+-+||
 |       |+-+-----------+|
 +-------+---------------+

--Kip

Sent from my iPad


On Apr 14, 2013, at 8:36 AM, Dan Bron <[email protected]> wrote:

> 2 2 $ +/`|:`|.`(-/ .*)
> 
> Please excuse typos; composed on a handheld device.
> 
> On Apr 14, 2013, at 8:24 AM, km <[email protected]> wrote:
> 
>> One of Ken's notes shows a "table of verbs".  A two by two example in J 
>> might be
>> 
>> +/   |:
>> 
>> |.   -/.*
>> 
>> How would you implement such a table in J?
>> 
>> --Kip Murray
>> 
>> Sent from my iPad
>> 
>> 
>> On Apr 13, 2013, at 11:53 PM, "Linda Alvord" <[email protected]> wrote:
>> 
>>> Here are some copies of notes that Ken made over the years.
>>> 
>>> 
>>> http://www.jsoftware.com/jwiki/KenIversonNotes-LindaAlvord
>>> 
>>> 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to