Operator operator %
operator %(int2x2, int2x2)
Returns the result of a componentwise modulus operation on two int2x2 matrices.
Declaration
public static int2x2 operator %(int2x2 lhs, int2x2 rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| int2x2 | lhs | Left hand side int2x2 to use to compute componentwise modulus. |
| int2x2 | rhs | Right hand side int2x2 to use to compute componentwise modulus. |
Returns
| Type | Description |
|---|---|
| int2x2 | int2x2 result of the componentwise modulus. |
operator %(int2x2, int)
Returns the result of a componentwise modulus operation on an int2x2 matrix and an int value.
Declaration
public static int2x2 operator %(int2x2 lhs, int rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| int2x2 | lhs | Left hand side int2x2 to use to compute componentwise modulus. |
| int | rhs | Right hand side int to use to compute componentwise modulus. |
Returns
| Type | Description |
|---|---|
| int2x2 | int2x2 result of the componentwise modulus. |
operator %(int, int2x2)
Returns the result of a componentwise modulus operation on an int value and an int2x2 matrix.
Declaration
public static int2x2 operator %(int lhs, int2x2 rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| int | lhs | Left hand side int to use to compute componentwise modulus. |
| int2x2 | rhs | Right hand side int2x2 to use to compute componentwise modulus. |
Returns
| Type | Description |
|---|---|
| int2x2 | int2x2 result of the componentwise modulus. |