Navigation

Operators and Keywords

Function List:

C++ API

: z = or (x, y)
: z = or (x1, x2, …)

Return the logical OR of x and y.

This function is equivalent to the operator syntax x |y. If more than two arguments are given, the logical OR is applied cumulatively from left to right:

(…((x1 |x2) |x3) |…)

At least one argument is required.

See also: and, not, xor.

Package: octave