The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Method on @sym: xor (x, y)

Logical xor of symbolic arrays.

Examples:

xor(sym(true), sym(true))
  ⇒ ans = (sym) False
syms x y
xor (x, y)
  ⇒ (sym) x ⊻ y

See also: @sym/and, @sym/or, @sym/not, @sym/eq, @sym/ne, @sym/logical, @sym/isAlways.

Package: symbolic