ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM
4. 6d& gets the subgroups intersection
d& a1 a2 [a3 .. aN] where a1 a2 [a3 .. aN] are set variables
d&`mtm~ a1 a2 [a3 .. aN]
d&/mtm~ a1 a2 [a3 .. aN]
d&
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* commu ins:H_H_H ous:H_H_H
Use the d& to get the intersection of subgroups found in set variables.
d& EXAMPLE1The following example shows how to get the intersection of subgroups between set variables. We want to compare the subdirectory branches in two or more directories, we start the ASPL loading the sample workspace WS1 and issue the d& operator.
d& OPERATION1# aspl WS1
(start ASPL loading WS1)
① aspl>
d& a3 a4
(display the subgroups (or subdirectories) intersection between a3 a4)
② aspl>
d& a3 a4 a5
(display the subgroups (or subdirectories) intersection between a3 a4 a5)
d& EXAMPLE2The following example shows how to get the intersection of subgroups between set variables in the sample workspace RANDONEBITMIX.
d& OPERATION2# aspl RANDONEBITMIX
(start ASPL loading RANDONEBITMIX)
① aspl>
d& g1 g2
(display the subgroups intersection between g1 and g2)
② aspl>
d& g1 g2 g3
(display the subgroups intersection between g1 g2 g3)
③ aspl>
d&`c= g1 g2 g3
(display the subgroups intersection between g1 g2 g3 such that the checksums are equal)
④ aspl>
gd123 = d& g1 g2 g3
(gd123 is assigned the intersection of subgroups g1 g2 g3)
⑤ aspl>
gd12 = d& g1 g2
(gd12 is assigned the intersection of subgroups to g1 g2)
⑥ aspl>
d& dg123 gd12
(get the intersection between dg123 and gd12, we need to labinate the d&, see next operation )
⑦ aspl>
,d& gd123 gd12
(labinate since the set variable have subgroup labels by the same name)
This example is shown in the following terminal:
terminal for example: d& GET THE SUBGROUPS INTERSECTION
● Tickable Predicates for d&
This d& is tickable with predicates that are shown in the following table:
a yellow note
d&`_ gets the subgroups intersection d&`c= gets the subgroups intersection such that they have the same checksum d&`c~ gets the subgroups intersection such that they have different checksums d&`c~~ gets the subgroups intersection such that they have all over different checksums d&`h= gets the subgroups intersection such that they have the same entropy d&`h~ gets the subgroups intersection such that they have different entropies d&`h~~ gets the subgroups intersection such that they have all over different entropies d&`mtm= gets the subgroups intersection such that they have the same make time d&`mtm~ gets the subgroups intersection such that they have different make times d&`mtm~~ gets the subgroups intersection such that they have all over different make times d&`mtm< gets the subgroups intersection such that they have a prior make time d&`mtm<= gets the subgroups intersection such that they have prior or same make time d&`mtm> gets the subgroups intersection such that they have more recent make time d&`mtm>= gets the subgroups intersection such that they have more recent or same make time d&`ks= gets the subgroups intersection such that they have the same ksum d&`ks~ gets the subgroups intersection such that they have different ksums d&`ks~~ gets the subgroups intersection such that they have all over different ksums