Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
calc_lookup_table_difference [2011/07/25 16:17]
hermann created
calc_lookup_table_difference [2026/08/28 03:11] (current)
hermann Sync from local documentation review
Line 1: Line 1:
-====== Calc Lookup Table Difference ====== ​+====== Calc Lookup Table Difference ======
  
 ===== Description ===== ===== Description =====
  
-This functor calculates ​the difference between two lookup tables.+Calculates ​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 Symmetrical Difference ​ | [[Bool Type|Bool  ​]]  | If true, the symmetrical difference between the two lookup ​tables ​is calculatedotherwise, the relative complement is used.  | False          |+| Use Symmetrical Difference ​ | [[Boolean Value Type]] ​ | If true, the symmetrical difference between ​First Table and Second Table is calculated, keeping the keys present in only one of the two tables; ​if false, the relative complement is calculated instead, keeping only the keys of First Table that do not occur in Second Table.  | False  |
  
-===== Output ​=====+===== Outputs ​=====
  
-^ 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 =====
  
-[[Functor List#Table | Table]]+[[Functor List#Lookup ​Table | Lookup ​Table]]
  
 ===== Notes ===== ===== Notes =====
  
-For further information about symmetric ​and relative difference ​of sets, see [[wp>​Symmetric_difference]] and [[wp>​Set_difference#​Relative_complement]].+The key and value column names of Result are inherited from First Table. 
 + 
 +For background on the two set operations this functor can compute, see [[https://​en.wikipedia.org/​wiki/​Complement_(set_theory)#​Relative_complement|relative complement]] and [[https://​en.wikipedia.org/​wiki/​Symmetric_difference|symmetric difference]].
  
 ===== Internal Name ===== ===== Internal Name =====