You'll want this too.

   pas=: 13 :'(i.>:y)!y'
   pas 
] !~ [: i. >:
   
   pas 6
1 6 15 20 15 6 1
   
Linda

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Linda Alvord
Sent: Monday, June 03, 2013 3:49 AM
To: [email protected]
Subject: Re: [Jprogramming] z458095869_dissectnopath_

Henry,  ds is fun!

   hist=: 13 :'((pas y)>/i.>./pas y){'' O'''
   histi
' O' {~ pas >/ [: i. [: >./ pas
  hist 6 
O                   
OOOOOO              
OOOOOOOOOOOOOOO     
OOOOOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOO     
OOOOOO              
O                   
  ds 'hist 6'
  ds 'hist 8'

It could get even bigger!

Linda


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Henry Rich
Sent: Sunday, June 02, 2013 9:21 PM
To: [email protected]
Subject: Re: [Jprogramming] z458095869_dissectnopath_

Yes, and Ye Dic spells it out:

m"(-r) y is equivalent to m"(0>.(#$y)-r)"_

Note the final "_

Henry Rich

On 6/2/2013 8:55 PM, Roger Hui wrote:
> v b. 0 reports the on what the system thinks are the monadic, left, 
> and right ranks, and those ranks are always positive.  The following 
> phrase shows another way that 0"_1 has infinite rank.
>
> ​
>     <@(0"_1) i.2 3
> ┌───┐
> │0 0│
> └───┘
>
> ​When the "combining ranks" of a verb are negative, the interpretation 
> is nasty and counterintuitive.  Some of the nastiness were discussed 
> in APL papers from the late 1980s.​
>
>
>
> On Sun, Jun 2, 2013 at 5:10 PM, Raul Miller <[email protected]> wrote:
>
>> I think
>>
>>     0"_1 b. 0
>> _
>>
>> I think that result should be _1 _1 _1
>>
> ----------------------------------------------------------------------
> 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

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to