...@forums.jsoftware.com] On Behalf Of Roger Hui
Sent: Wednesday, October 10, 2012 12:36 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Partitioning a string into unequal-length parts
The design of *cut* comes from section K of *Rationalized
APL*http://www.jsoftware.com/papers
Hui
Sent: Wednesday, October 10, 2012 12:36 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Partitioning a string into unequal-length parts
The design of *cut* comes from section K of *Rationalized
APL*http://www.jsoftware.com/papers/RationalizedAPL.htm,
written by Ken Iverson
-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Ric Sherlock
Sent: Wednesday, October 10, 2012 4:09 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Partitioning a string into unequal-length parts
Hi Linda,
If I understand correctly you're
Number 1 the brute force way: (i#i.#i)/.az
On Tue, Oct 9, 2012 at 4:37 PM, Roger Hui rogerhui.can...@gmail.com wrote:
I mean to say ;.2 instead of ;._2 .
On Tue, Oct 9, 2012 at 7:36 AM, Roger Hui rogerhui.can...@gmail.com
wrote:
1. (;i{..1) ;.1 az (various ways of generating left
See also http://www.jsoftware.com/jwiki/Essays/Key
On Tue, Oct 9, 2012 at 9:26 AM, Peter B. Kessler peter.b.kess...@oracle.com
wrote:
Key (/.) is cool! For the boolean case, plus-insert-prefix (+/\) is your
friend
b =: 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0
+/\
-boun...@forums.jsoftware.com] Namens Roger Hui
Verzonden: dinsdag 9 oktober 2012 19:08
Aan: programm...@jsoftware.com
Onderwerp: Re: [Jprogramming] Partitioning a string into unequal-length parts
See also http://www.jsoftware.com/jwiki/Essays/Key
On Tue, Oct 9, 2012 at 9:26 AM, Peter B
a string into unequal-length parts
1. (;i{..1) ;.1 az (various ways of generating left argument; also use
;._2 depending on left argument).
2. b ;._2 az
On Tue, Oct 9, 2012 at 7:32 AM, Ian Clark earthspo...@gmail.com wrote:
1. Suppose:
az=: 'abcdefghijklmnopqrstuvwxyz'
i=: 3 2 5 8 5 3
The design of *cut* comes from section K of *Rationalized
APL*http://www.jsoftware.com/papers/RationalizedAPL.htm,
written by Ken Iverson in 1983 at the height of his powers. In the
original publication the description of *cut* was split with half on one
page and the other half on the obverse.