makeset

SpecialNodes makeset

shown here for N = 2

input ports:
Name Type Description Optional

in0

?0

element to be added to new set

no

in1

?0

element to be added to new set

no

…​

inN-1

?0

element to be added to new set

no

output ports:
Name Type Description Optional

output

set<?0>

set containing the input elements

no

makeset reads each of its N inputs and outputs a set with those elements. If the input elements are distinct, the resulting set will have N elements. In any case the result set will contain the unique elements among its N inputs.