[Jprogramming] Joining lists
Raul Miller
rauldmiller at gmail.com
Mon Feb 1 05:54:46 UTC 2016
Hmm...
this is odd
a=: i. 2 3
b=: 1 2 3
c=: 4
>,&.>/a;b;c
0 1 2
3 4 5
1 2 3
4 4 4
According to the documentation at
http://www.jsoftware.com/help/dictionary/d420.htm that result should
be equivalent to a,b,c (because u/ is supposed to proceed from right
to left). But it's not...
--
Raul
On Mon, Feb 1, 2016 at 12:39 AM, robert therriault
<bobtherriault at mac.com> wrote:
> Or maybe different rank combinations is what you were looking for?
>
> a=: i. 2 3
> b=: 1 2 3
> c=: 4
> a,b,c
> 0 1 2 0
> 3 4 5 0
> 1 2 3 4
> ; a;b;c
> 0 1 2
> 3 4 5
> 1 2 3
> 4 4 4
>
> Cheers, bob
>
>
>> On Jan 31, 2016, at 9:27 PM, Raul Miller <rauldmiller at gmail.com> wrote:
>>
>> On Sun, Jan 31, 2016 at 9:23 PM, Henry Rich <henryhrich at gmail.com> wrote:
>>> When does
>>>
>>> ; a;b;c
>>>
>>> produce a different result from
>>>
>>> a,b,c
>>>
>>> (assuming here that a, b, c are not boxed)?
>>
>> Well, one example might be:
>> a=:<
>> b=:1
>> c=:2
>>
>> Or do you consider that (a) to be boxed?
>>
>> Thanks,
>>
>> --
>> Raul
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list