ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM
8. 1f&& gets the binned elements intersection
f&& a1 a2 [a3 .. aN] where a1 a2 [a3 .. aN] are binned set variables
f&&`mtm~ a1 a2 [a3 .. aN]
f&&/mtm~ a1 a2 [a3 .. aN]
f&&
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 augmented enswer stack
asetop asetoid 2* notcommu ins:H_H_AH ous:H_H_AH
Use the f&& operator to get the elements intersection between binned set variables. The binned set variables are also called augmented set variables and are saved in the augmented symbol table. You can display the binned variables using the av command, and the binned answer stack using the command ens.
f&& EXAMPLE1The following example shows how to get the intersection of the elements between binned set variables in the sample workspace RANDONEBITMIX.
f&& OPERATION1# aspl RANDONEBITMIX
(start ASPL loading the sample workspace RANDONEBITMIX)
① aspl>
v
(print the symbol table)
② aspl>
av
(print the augmented symbol table)
③ aspl>
tattler 1
(toggle the tattler)
④ aspl>
gg1 *= g1
(create the binned variable from the set variable g1)
⑤ aspl>
gg2 *= g2
(create the binned variable from the set variable g2)
⑥ aspl>
v
(print the symbol table)
⑦ aspl>
av
(print the augmented symbol table)
⑧ aspl>
f&& gg1 gg2
(display the intersection of elements between the binned variables aa1 aa2)
⑨ aspl>
gg12 = f&& gg1 gg2
(gg12 is assigned the intersection of elements between the binned variables gg1 and gg2)
display the intersection of elements between the binned variables aa1 aa2
⑩ aspl>
av
(print the augmented symbol table)
⑪ aspl>
adisplay gg12
(display the binned variable gg12)
f&& EXAMPLE2The following example shows how to get the intersection of the elements between binned set variables where the mtime attributes are different.
f&& OPERATION2# aspl WS1
(start ASPL loading the sample workspace WS1)
① aspl>
av
(print the augmented symbol table)
② aspl>
aa12 = f&& aa1 aa2
(aa12 is assigned the intersection of elements between the binned variables aa1 and aa2)
③ aspl>
aa12m = f&&`mtm~ aa1 aa2
(aa12m is assigned the intersection of elements between the binned variables aa1 and aa2 whose mtimes are different)
④ aspl>
av
(print the augmented symbol table)
⑤ aspl>
f\\ aa12 aa12m
(show the difference between the binned variables aa12 and aa12m)
● Tickable Predicates for f&&
This f&& is tickable with predicates that are shown in the following table:
a yellow note
f&&`_ gets the binned elements intersection for the plularity of matching relations f&&`c= gets the binned elements intersection for the plularity of matching relations such that they have the same checksum f&&`c~ gets the binned elements intersection for the plularity of matching relations such that they have different checksums f&&`c~~ gets the binned elements intersection for the plularity of matching relations such that they have all over different checksums f&&`h= gets the binned elements intersection for the plularity of matching relations such that they have the same entropy f&&`h~ gets the binned elements intersection for the plularity of matching relations such that they have different entropies f&&`h~~ gets the binned elements intersection for the plularity of matching relations such that they have all over different entropies f&&`mtm= gets the binned elements intersection for the plularity of matching relations such that they have the same make time f&&`mtm~ gets the binned elements intersection for the plularity of matching relations such that they have different make times f&&`mtm~~ gets the binned elements intersection for the plularity of matching relations such that they have all over different make times f&&`ks= gets the binned elements intersection for the plularity of matching relations such that they have the same ksum f&&`ks~ gets the binned elements intersection for the plularity of matching relations such that they have different ksums f&&`ks~~ gets the binned elements intersection for the plularity of matching relations such that they have all over different ksums