gt;> > 0 2 3 1
>> > 1 3 2 0
>> > 2 0 1 3
>> > 3 1 0 2
>> >
>> >
>> > 0 3 1 2
>> > 1 2 0 3
>> > 2 1 3 0
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> &g
the other way around:
v4 C."(_ 1) a4
I get what I expect: 12 sets of permutations that can be, after removing
duplicates, reduced to 3 sets, i.e. the right cosets of V4 in A4.
From: jgho...@outlook.com
To: programm...@jsoftware.com
Date: Sun, 13 Jul 2014 07:38:38 +0100
Subject: Re: [Jpr
ftware.com
> Date: Sun, 13 Jul 2014 07:38:38 +0100
> Subject: Re: [Jprogramming] I just don't C. it.
>
> Thanks,
> I'm worried your lcosets and rcosets are actually the same verb, given that
> the arguments are swapped.
> The idea is that left multiplying (
rogramm...@jsoftware.com
> Subject: Re: [Jprogramming] I just don't C. it.
>
> I've reduced your notation slightly - playing with alternate expressions
> helps me understand.
>Sym=: A.&i.~ !
>Alt=: ({~ 1 I.@:= C.!.2)@:Sym
>rcosets=: ~.@:(/:~
cosets.
> i.e.
> I need a verb that does:
> a4 C."(r1 r2) v4 NB. what ranks r1, r2?
> and then nub the resulting duplicate sets ~.@:(/:~"2
> And the answer SHOULD be the same as the right cosets.
> So, if I try
>
> lcosets =: ~.@:(/:~"2) @: ( C."(1 _)
s no sense to me.
> Date: Sat, 12 Jul 2014 07:24:32 -0400
> From: schott.br...@gmail.com
> To: programm...@jsoftware.com
> Subject: Re: [Jprogramming] I just don't C. it.
>
> The explanation may be the rank of C, as you ask.
>
>C. b. 0
> 1 1 _
&
The explanation may be the rank of C, as you ask.
C. b. 0
1 1 _
0 2 3 1 C."1 v
0 2 3 1
1 3 2 0
2 0 1 3
3 1 0 2
--
(B=)
--
For information about J forums see http://www.jsoftware.com/forums.htm
I excplained poorly. I'm considering the first row of the result of
0 2 3 1 C. v
which is different to just doing
0 2 3 1 C. 0 1 2 3
> From: jgho...@outlook.com
> To: programm...@jsoftware.com
> Date: Sat, 12 Jul 2014 10:30:47 +0100
> Subject: [Jprogramming] I just don't
Let
v =: 4 4 $ 0 1 2 3 1 0 3 2 2 3 0 1 3 2 1 0
0 2 3 1 C. v
gives
0 1 2 32 3 0 13 2 1 0
1 0 3 2
which seems weird to me. Taking the first row of v only
0 2 3 1 C. 0 1 2 3
0 2 3 1
This gives a different result. The second result is what I expected.
Why the discrepancy? Verb ran