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