Skip to main content

Complement

Computes the complement of a set with respect to another set.

Syntax

complement(List | Vector, List | Vector)

Description

Given two lists or vectors A and B, its complement, usually denoted by A/B, is defined as the elements in AA that do not belong to BB.

logic_and_sets.complement.calc.png