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