fano_plane

120 Reputation

2 Badges

17 years, 37 days

MaplePrimes Activity


These are questions asked by fano_plane

I will have to use an example to highlight my problem, any help would be of great use, Let us take the group {a[1],a[2],a[3]} with a[1]=[1,0,1,0], a[2]=[1,1,0,0], a[3]=[0,0,1,1] now we have combinations of 2 such as a[1]+a[2]=[2,1,1,0], a[1]+a[3]=[1,0,2,1] and a[2]+a[3]=[1,1,1,1], a[1]+a[2] and a[1]+a[3] are the same as they have the same values even though the order is not the same. from there I want to put them into seperate classes so I have b[1]={a[1]+a[2],a[1]+a[3]} and b[2]={a[2]+a[3]} Been having a lot of trouble trying to do this, any help would be appreciated
I will have to use an example to highlight my problem, any help would be of great use, Let us take the group {a[1],a[2],a[3]} with a[1]=[1,0,1,0], a[2]=[1,1,0,0], a[2]=[0,0,1,1] now we have combinations of 2 such as a[1]+a[2]=[2,1,1,0], a[1]+a[3]=[1,0,2,1] and a[2]+a[3]=[1,1,1,1], I want to make Maple realise that a[1]+a[2] and a[1]+a[3] are the same as they have the same values in the list even though the order is not the same. from there I want to put them into seperate classes so I have b[1]={a[1]+a[2],a[1]+a[3]} and b[2]={a[2]+a[3]} Been having a lot of trouble trying to do
Any help with this question will be much appreciated. I have a set with 15 elements and i have broke them down into all the possible subsets using the powerset function. I have also assigned the elements to a vector. I want to sum all the elements of each subset. ie The set {a,b,c,d} has all the subsets {{},{a},{b},{c},{a,b},{a,c},{b,c},{a,b,c}} with these assignments let us say a:=[1,0,0], b:=[0,1,0], c:=[0,0,1] I want results such that i have a, [1,0,0] b, [0,1,0] c, [0,0,1] a+b, [1,1,0] a+c, [1,0,1] b+c, [0,1,1] a+b+c, [1,1,1] Is there any way to write a Maple function to carry this out?
1 2 Page 2 of 2