| Calling Sequence
| a intersect b
intersect(a,b)
|
| Parameters
| | Name | Type | Description |
|
| a
| set | |
| b
| set | |
|
| Return Type
| set |
| Synopsis
| Computes the intersection of two sets, that is a set
which has all the elements both in a and b. The value intersect() is
understood to be the entire universe, and hence intersections including
intersect() will simply return the other argument. In its functional form,
any arbitrary number of sets can be intersected. In particular,
intersect(a) = a. |
| Examples
| > {1,2,3} intersect {2,3,4};
{2,3}
> {1,2,3} intersect {};
{}
> {1,2,3} intersect intersect();
{1,2,3}
|
| See also
| member, minus, subset, union |