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: ne (a, b)
Operator on @sym: a ~= b
Operator on @sym: a != b

Test/define symbolic inequality, not equal to.

Examples:

syms x y
x ~= y
  ⇒ ans = (sym) x ≠ y
sym(1) ~= sym(pi)
  ⇒ ans = (sym) True

See also: @sym/eq, @sym/lt, @sym/le, @sym/gt, @sym/ge, @sym/logical, @sym/isAlways, @sym/isequal.

Package: symbolic