ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM
4. 15gD gets the subgroups and the elements symmetric difference
gD a1 a2 [a3 .. aN] where a1 a2 [a3 .. aN] are set variables
gD`mtm~ a1 a2 [a3 .. aN]
gD/mtm~ a1 a2 [a3 .. aN]
gD
When specified by itself then the operation is performed on the object on top of the stack and the one that is one below it, then the result is pushed on the stack
setop setoid 2* notcommu ins:H_H_H ous:H_H_H
Use the operator gD to get the symmetric difference between datasets represented by set variables.
gD EXAMPLEIn the following example we want to visualize the subdirectories and files contained in each directory without being found in any other directory. We start ASPL loading the sample workspace WS1 and issue the command gD on the set variables.
gD OPERATION# aspl WS1
(start ASPL loading the sample workspace WS1 )
① aspl>
v
(print the symbol table showing the set variables)
② aspl>
gD a1 a2
(get the group symmetric difference between a1 a2)
③ aspl>
gD a1 a2 a3
(get the group symmetric difference between a1 a2 a3)
④ aspl>
gD a3 a4 a5
(get the group symmetric difference between a3 a4 a5)
● Tickable Predicates for gD
This gD is tickable with predicates that are shown in the following table:
a yellow note
gD`_ gets the subgroups and the elements symmetric difference gD`c= gets the subgroups and the elements symmetric difference such that they have the same checksum gD`c~ gets the subgroups and the elements symmetric difference such that they have different checksums gD`c~~ gets the subgroups and the elements symmetric difference such that they have all over different checksums gD`h= gets the subgroups and the elements symmetric difference such that they have the same entropy gD`h~ gets the subgroups and the elements symmetric difference such that they have different entropies gD`h~~ gets the subgroups and the elements symmetric difference such that they have all over different entropies gD`mtm= gets the subgroups and the elements symmetric difference such that they have the same make time gD`mtm~ gets the subgroups and the elements symmetric difference such that they have different make times gD`mtm~~ gets the subgroups and the elements symmetric difference such that they have all over different make times gD`ks= gets the subgroups and the elements symmetric difference such that they have the same ksum gD`ks~ gets the subgroups and the elements symmetric difference such that they have different ksums gD`ks~~ gets the subgroups and the elements symmetric difference such that they have all over different ksums