ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM


8. 4
   fDD gets the binned elements symmetric difference

 

logo

fDD a1 a2 [a3 .. aN]       where a1 a2 [a3 .. aN] are set variables

fDD`mtm~ a1 a2 [a3 .. aN]

fDD/mtm~ a1 a2 [a3 .. aN]

fDD

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 stack

asetop  asetoid  2*          ins:H_H_AH  ous:H_H_AH

●  Operator fDD gets the binned elements symmetric difference

Use the fDD operator to get the symmetric difference of the elements 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.

 

fDD EXAMPLE
The following example shows how to get the symmetric difference of the elements between binned set variables in the sample workspace RANDONEBITMIX.

 

fDD OPERATION

aspl RANDONEBITMIX
    (start ASPL loading the sample workspace RANDONEBITMIX)

①  aspl> v
    (print the symbol table)

②  aspl> av
    (print the augmented symbol table)

③  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> gg3 *= g3
    (create the binned variable from the set variable g3)

⑥  aspl> av
    (print the augmented symbol table)

⑦  aspl> fDD gg1 gg2 gg3
    (print the symmetric difference of gg1 gg2 gg3)

⑧  aspl> ens
    (print the augmented answer stack)

⑨  aspl> gg123 = fDD gg1 gg2 gg3
    (assign the symmetric difference of gg1 gg2 gg3 into the binned variable gg123)

⑩  aspl> av
    (print the augmented symbol table)

⑪  aspl> av d gg123
    (print the descriptot of the binned variable gg123)

 

● Tickable Predicates for fDD

This fDD is tickable with predicates that are shown in the following table:

       a yellow note
fDD`_  gets the binned elements symmetric difference for the plularity of matching relations 
fDD`c=  gets the binned elements symmetric difference for the plularity of matching relations such that they have the same checksum 
fDD`c~  gets the binned elements symmetric difference for the plularity of matching relations such that they have different checksums 
fDD`c~~  gets the binned elements symmetric difference for the plularity of matching relations such that they have all over different checksums 
fDD`h=  gets the binned elements symmetric difference for the plularity of matching relations such that they have the same entropy 
fDD`h~  gets the binned elements symmetric difference for the plularity of matching relations such that they have different entropies 
fDD`h~~  gets the binned elements symmetric difference for the plularity of matching relations such that they have all over different entropies 
fDD`mtm=  gets the binned elements symmetric difference for the plularity of matching relations such that they have the same make time 
fDD`mtm~  gets the binned elements symmetric difference for the plularity of matching relations such that they have different make times 
fDD`mtm~~  gets the binned elements symmetric difference for the plularity of matching relations such that they have all over different make times 
fDD`ks=  gets the binned elements symmetric difference for the plularity of matching relations such that they have the same ksum 
fDD`ks~  gets the binned elements symmetric difference for the plularity of matching relations such that they have different ksums 
fDD`ks~~  gets the binned elements symmetric difference for the plularity of matching relations such that they have all over different ksums 
(C)2024 ASPL Inc.