ASPL Programming ver 1.00
© 2024 Bassem W. Jamaleddine
4. 3fU gets the elements union
fU a1 [a2 .. aN] where a1 [a2 .. aN] are set variables
fU`mtm~ a1 [a2 .. aN]
fU`mtm= a1 [a2 .. aN]
fU`c~ a1 [a2 .. aN]
fU`c= a1 [a2 .. aN]
fU
When specified by itself then get the union of the object on top of stack with the one one below top of stack then push result on the stack
setop setoid 1** commu ins:H_H_H ous:H_H_H
Use the fU operator to get the elements union of one or many datasets. This set operator can be followed by one or many set variables, and the set union is for the elements based on the group label or labels defined in the set variables. If the same named label is used in different set variables then you can labinate the set operation using ,fU or fU,.
fU ExampleThe following example shows how to find the union of files found in three different directories of WS1 datasets. To test with this operation, start ASPL by loading the sample workspace WS1 and follow the operations below.
fU Operation# aspl WS1
① aspl> fU a1 a2 a3
(get union of elements or files of a1 a2 a3)
② aspl> a123 = fU a1 a2 a3
(get union of elements or files of a1 a2 a3 and assign it to a123)
③ aspl> v
(view symbol table)
④ aspl> display a123
● Tickable Predicates for fU
This fU is tickable with predicates that are shown in the following table:
a yellow note
fU`_ gets the elements union fU`c= gets the elements union such that they have the same checksum fU`c~ gets the elements union such that they have different checksums fU`c~~ gets the elements union such that they have all over different checksums fU`h= gets the elements union such that they have the same entropy fU`h~ gets the elements union such that they have different entropies fU`h~~ gets the elements union such that they have all over different entropies fU`mtm= gets the elements union such that they have the same make time fU`mtm~ gets the elements union such that they have different make times fU`mtm~~ gets the elements union such that they have all over different make times fU`ks= gets the elements union such that they have the same ksum fU`ks~ gets the elements union such that they have different ksums fU`ks~~ gets the elements union such that they have all over different ksums