~=
Operator for inequality comparison.
Syntax
x~=y
Inputs
- x,y
- Anything that can be logically tested.
Outputs
- R
- Numerical representation of true or false (1 or 0).
Examples
Scalar example:
2 ~= 1
R = 1
Matrix example:
[2,4] ~= [2,3]
R = [Matrix] 1 x 2
0 1