ks:
>>>>
>>>>
>>>>
>>>> 5!:4 <'t2'
>>>>
>>>> ┌─ 2
>>>> ┌───┼─ {.
>>>> │ └─ [
>>>> ├─ $
>>>> ──┤ ┌─ ]
>>>> │ │ ┌─ /:
>>>> │
mming-boun...@forums.jsoftware.com] Namens Raul Miller
>> Verzonden: vrijdag 1 februari 2013 21:40
>> Aan: programm...@jsoftware.com
>> Onderwerp: Re: [Jprogramming] inverse oblique
>>
>> And... here, I solved the wrong problem.
>>
>> I should have use
n: vrijdag 1 februari 2013 21:40
> Aan: programm...@jsoftware.com
> Onderwerp: Re: [Jprogramming] inverse oblique
>
> And... here, I solved the wrong problem.
>
> I should have used something like:
>
> common=: 2 2 <@({.@;@{. ([ ~.@, ;@:}:@] , (,&.> ;@{:)) }.&
ooks:
> >>
> >>
> >>
> >> 5!:4 <'t2'
> >>
> >> ┌─ 2
> >> ┌───┼─ {.
> >> │ └─ [
> >> ├─ $
> >> ──┤ ┌─ ]
> >> │ │ ┌─ /:
> >> │ ├─ & ─┴─ ;
> >> └───┤
>
, February 02, 2013 9:54 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] inverse oblique
km wrote:
> Consider comparing the writing of J to the writing of English. What would
be in your "Strunk and White" for the writing of J?
> (The Elements of Style by William St
t; This has both forks and hooks:
>>>>
>>>>
>>>>
>>>> 5!:4 <'t2'
>>>>
>>>> ┌─ 2
>>>> ┌───┼─ {.
>>>> │ └─ [
>>>> ├─ $
>>>> ──┤ ┌─ ]
>>>> │ │ ┌─
his has both forks and hooks:
>>>
>>>
>>>
>>> 5!:4 <'t2'
>>>
>>> ┌─ 2
>>> ┌───┼─ {.
>>> │ └─ [
>>> ├─ $
>>> ──┤ ┌─ ]
>>> │ │ ┌─ /:
>>> │ ├─ & ─┴─ ;
>>>
──┼─ {.
>> │ └─ [
>> ├─ $
>> ──┤ ┌─ ]
>> │ │ ┌─ /:
>> │ ├─ & ─┴─ ;
>> └───┤
>> │ ┌─ [:
>> │ ├─ /. ─── <
>> └─┤
>> │ ┌─ [:
>> └──┼─ i.
>>
[
>
>
>
> Linda
>
>
>
> -Original Message-
> From: programming-boun...@forums.jsoftware.com [mailto:programming-
> boun...@forums.jsoftware.com] On Behalf Of Linda Alvord
> Sent: Saturday, February 02, 2013 2:00 AM
> To: programm...@jsoftware.com
> Subject: R
boun...@forums.jsoftware.com] On Behalf Of Raul Miller
> Sent: Friday, February 01, 2013 9:20 AM
> To: programm...@jsoftware.com
> Subject: Re: [Jprogramming] inverse oblique
>
> How do you define "easier"?
>
> In my opinion, it's easier to go from simple (fewer tokens) to c
ictionary to master
> t1 than t2.
>
> Linda
>
> -Original Message- wo
> From: programming-boun...@forums.jsoftware.com [mailto:programming-
> boun...@forums.jsoftware.com] On Behalf Of Raul Miller
> Sent: Friday, February 01, 2013 9:20 AM
> To: programm...@jsoftwar
│ ┌─ [:
└──┼─ i.
└─ [
Linda
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Linda Alvord
Sent: Saturday, February 02, 2013 2:00 AM
To: programm...@jsoftware.com
Subject
x) u (v y)
t1=: 13 :'(2{.x)$(;y)/:;mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Raul Miller
Sent: Friday, February 01, 2013 9:20 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] inverse oblique
How do you define "easier"?
In my opinion, it's easi
And... here, I solved the wrong problem.
I should have used something like:
common=: 2 2 <@({.@;@{. ([ ~.@, ;@:}:@] , (,&.> ;@{:)) }.&.>)@,;.3^:_
((;~@#)&.> i.@$)@(=/)
lcs=: [ {~ 0 {"1 ,&$ #: 0 >@{.@(#~ (= >./)@:(#@>))@({:: ,) common
'thisisatest' lcs 'testing123testing'
tsitest
--
Raul
O
m: programming-boun...@forums.jsoftware.com
> [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Roger Hui
> Sent: Thursday, January 31, 2013 1:49 PM
> To: Programming forum
> Subject: Re: [Jprogramming] inverse oblique
>
>t -: (2{.s) $ x /:&; 1
>
>
>
> On
Functions f and g are t1 and t2
t=: 5 7 2 ?@$ 1e6
s=: $t
x=: mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Linda Alvord
Sent: Friday, February 01, 2013 5:06 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] inverse oblique
If t1 is easy tacit and
forum
Subject: Re: [Jprogramming] inverse oblique
t -: (2{.s) $ x /:&; wrote:
>t=: 5 7 2 ?@$ 1e6
>s=: $t
>x=:
>t -: (2{.s) $ (;x)/:; 1
>
>
>
> On Thu, Jan 31, 2013 at 10:28 AM, Raul Miller
wrote:
>
>> Let's start with an arbitrary arra
Thanks, this is great.
Based on this, added another J implementation of the longest common
subsequence task from rosettacode:
http://rosettacode.org/wiki/Longest_Common_Subsequence#J
It's this code:
accumulate=: [ >. [ + *
rateSequence=: <@(accumulate/\.)
rateSeqs=: $ $ rateSequence/. /:&; ./@,
t -: (2{.s) $ x /:&; wrote:
>t=: 5 7 2 ?@$ 1e6
>s=: $t
>x=:
>t -: (2{.s) $ (;x)/:; 1
>
>
>
> On Thu, Jan 31, 2013 at 10:28 AM, Raul Miller wrote:
>
>> Let's start with an arbitrary array:
>>
>>A=: i. 2 3
>>
>> We can box oblique lines from this array:
>>
>>> +-+---+---+
t=: 5 7 2 ?@$ 1e6
s=: $t
x=: wrote:
> Let's start with an arbitrary array:
>
>A=: i. 2 3
>
> We can box oblique lines from this array:
>
> +-+---+---+-+
> |0|1 3|2 4|5|
> +-+---+---+-+
>
> However, the interpreter does not currently provide us with an inverse
> for this operation
20 matches
Mail list logo