Next: table.setxor, Previous: table.union, Up: table [Contents]
Set intersection.
Computes the intersection of two tables. The intersection is defined to be the unique row values which are present in both of the two input tables.
Returns: C - A table containing all the unique row values present in both A and B. ia - Row indexes into A of the rows from A included in C. ib - Row indexes into B of the rows from B included in C.