Returns TRUE if x is equal to y. Otherwise the return value is FALSE. Both arguments must be of the same type and the same size. This function is performed element-wise if the arguments are vectors or matrices.
Syntax
x == y
Types
Variable Name | Value Type | Variable Type | ||
---|---|---|---|---|
Arguments: | x | real | boolean, scalar, vector, matrix | |
y | real | boolean, scalar, vector, matrix | ||
Result: | b | bool | boolean |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
x | Argument | REAL VECTOR |
| [2, 3] | |
y | Argument | REAL VECTOR |
| [2, 4] | |
b | Result | BOOL | false | x == y |