Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
calc_lookup_table_difference [2011/07/25 16:29] hermann |
calc_lookup_table_difference [2015/10/13 20:21] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Calc Lookup Table Union ====== | + | ====== Calc Lookup Table Difference ====== |
| ===== Description ===== | ===== Description ===== | ||
| - | This functor calculates a lookup table that is the union of two lookup tables. | + | This functor calculates a lookup table that corresponds to the difference between two lookup tables. |
| ===== Inputs ===== | ===== Inputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ | + | ^ Name ^ Type ^ Description ^ |
| - | | First Table | [[Lookup Table Type|Lookup Table ]] | The first lookup table. | | + | | First Table | [[Lookup Table Type]] | The first lookup table. | |
| - | | Second Table | [[Lookup Table Type|Lookup Table ]] | The second lookup table. | | + | | Second Table | [[Lookup Table Type]] | The second lookup table. | |
| ===== Optional Inputs ===== | ===== Optional Inputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ Default Value ^ | + | ^ Name ^ Type ^ Description ^ Default Value ^ |
| - | | use First Table To Solve Duplicated Key | [[Bool Type|Bool ]] | If true, in the case of duplicated keys, the value of the first table is selected; otherwise, the value of the second table is selected. | True | | + | | use Symmetrical Difference | [[Boolean Value Type]] | If true, the symmetrical difference between two lookup tables is calculated; otherwise, the relative complement is used. | True | |
| ===== Output ===== | ===== Output ===== | ||
| - | ^ Name ^ Type ^ Description ^ | + | ^ Name ^ Type ^ Description ^ |
| - | | result | [[Lookup Table Type|Lookup Table ]] | The resulting lookup table. | | + | | result | [[Lookup Table Type]] | The resulting lookup table. | |
| ===== Group ===== | ===== Group ===== | ||
| Line 27: | Line 27: | ||
| ===== Notes ===== | ===== Notes ===== | ||
| - | For further information about set intersection, see [[wp>Set_union]]. | + | The column names from the first input table are assigned to the output table. |
| + | |||
| + | For further information about difference between two sets, see [[wp>Difference_(set_theory)]] and [[wp>Symmetric_difference]]. | ||
| ===== Internal Name ===== | ===== Internal Name ===== | ||
| - | CalcLookupTableUnion | + | CalcLookupTableDifference |