intersection#

swordfish.function.intersection()#

If both X and Y are sets, return the intersection of the two sets.

If X and Y are integer scalars/vectors, conduct the bitwise operation “AND”.

Parameters:
  • X (Constant) – A set, or an integer scalar/vector.

  • Y (Constant) –

    A set, or an integer scalar/vector.

    X and Y are of the same length.