Navigation

Operators and Keywords

Function List:

C++ API

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

Return the logical AND of x and y.

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

(…((x1 & x2) & x3) & …)

At least one argument is required.

See also: or, not, xor.

Package: octave