I:]

The Function: Membership

104

Monadic (One-Argument) Form

There is no monadic form.

Dyadic (Two-Argument) Form: Membership AEB

The membership function result is a 1 for each element of argument A that can be

found among the elements of argument B and a 0 for every element that cannot be

found. The shape of the result is the same as the shape of argument A.

Arguments A and B can be any scalar, vector, or array:

The Function: Membership

104

Monadic (One-Argument) Form

There is no monadic form.

Dyadic (Two-Argument) Form: Membership AEB

The membership function result is a 1 for each element of argument A that can be

found among the elements of argument B and a 0 for every element that cannot be

found. The shape of the result is the same as the shape of argument A.

Arguments A and B can be any scalar, vector, or array: