Displaying 2 results from an estimated 2 matches for "set_complement".
2018 Mar 18
1
How to take difference of sets when there is an empty subset involved
...utput : {{}, {"P1", "P2", "P3", "P4"}}
> set_symdiff(i,A)
Output: {{}, {"P1", "P2", "P3", "P4"}}
> set_symdiff(A,i)
Output: {{}, {"P1", "P2", "P3", "P4"}}
i also tried with set_complement() .But it does not subtract the empty
subset from the bigger set. It seems it doesn't recognise it.
What else can I try ? any pointers/ packages will be great help.
.
Thanks in advance,
Neha
[[alternative HTML version deleted]]
2018 Mar 18
1
Set Difference Problem
...utput : {{}, {"P1", "P2", "P3", "P4"}}
> set_symdiff(r,R)
Output: {{}, {"P1", "P2", "P3", "P4"}}
> set_symdiff(R,r)
Output: {{}, {"P1", "P2", "P3", "P4"}}
i also tried with set_complement() .But they do not subtract the null set
from the bigger set. It seems they dont recognise it.
What can I try, any pointers/ packages will be great help.
Please help
.
Thanks,
Neha
[[alternative HTML version deleted]]