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