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