bitOr

Syntax

bitOr(X, Y)

or

X | Y

Details

Return the result of the bitOr operation.

Parameters

X and Y are numeric scalar, vectors, matrices or tables.

Returns

An object with the same data type and form as X.

Examples

x=1 0 1;
y=0 1 1;
x | y;
// output: [1,1,1]