Operator Equality
Equality(bool2x2, bool2x2)
Returns the result of a componentwise equality operation on two bool2x2 matrices.
Declaration
public static bool2x2 operator ==(bool2x2 lhs, bool2x2 rhs)
Parameters
Type | Name | Description |
---|---|---|
bool2x2 | lhs | Left hand side bool2x2 to use to compute componentwise equality. |
bool2x2 | rhs | Right hand side bool2x2 to use to compute componentwise equality. |
Returns
Type | Description |
---|---|
bool2x2 | bool2x2 result of the componentwise equality. |
Equality(bool2x2, Boolean)
Returns the result of a componentwise equality operation on a bool2x2 matrix and a bool value.
Declaration
public static bool2x2 operator ==(bool2x2 lhs, bool rhs)
Parameters
Type | Name | Description |
---|---|---|
bool2x2 | lhs | Left hand side bool2x2 to use to compute componentwise equality. |
Boolean | rhs | Right hand side bool to use to compute componentwise equality. |
Returns
Type | Description |
---|---|
bool2x2 | bool2x2 result of the componentwise equality. |
Equality(Boolean, bool2x2)
Returns the result of a componentwise equality operation on a bool value and a bool2x2 matrix.
Declaration
public static bool2x2 operator ==(bool lhs, bool2x2 rhs)
Parameters
Type | Name | Description |
---|---|---|
Boolean | lhs | Left hand side bool to use to compute componentwise equality. |
bool2x2 | rhs | Right hand side bool2x2 to use to compute componentwise equality. |
Returns
Type | Description |
---|---|
bool2x2 | bool2x2 result of the componentwise equality. |