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