public static uint3x2 transpose(uint2x3 v)
 {
     return(uint3x2(
                v.c0.x, v.c0.y,
                v.c1.x, v.c1.y,
                v.c2.x, v.c2.y));
 }
 public double2x3(uint2x3 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
     this.c2 = v.c2;
 }
 public static double2x3 double2x3(uint2x3 v)
 {
     return(new double2x3(v));
 }
Example #4
0
 public int2x3(uint2x3 v)
 {
     this.c0 = (int2)v.c0;
     this.c1 = (int2)v.c1;
     this.c2 = (int2)v.c2;
 }
Example #5
0
 public static int2x3 int2x3(uint2x3 v)
 {
     return(new int2x3(v));
 }
Example #6
0
 public float2x3(uint2x3 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
     this.c2 = v.c2;
 }
Example #7
0
 public static float2x3 float2x3(uint2x3 v)
 {
     return(new float2x3(v));
 }
 public static uint2 hash_wide(uint2x3 v)
 {
     return((v.c0 * uint2(0x9BC17CE7u, 0xC8B86851u) +
             v.c1 * uint2(0x64095221u, 0xADF428FFu) +
             v.c2 * uint2(0xA3977109u, 0x745ED837u)) + 0x9CDC88F5u);
 }
 public static uint hash(uint2x3 v)
 {
     return(csum(v.c0 * uint2(0xE7579997u, 0xEF7D56C7u) +
                 v.c1 * uint2(0x66F38F0Bu, 0x624256A3u) +
                 v.c2 * uint2(0x5292ADE1u, 0xD2E590E5u)) + 0xF25BE857u);
 }
Example #10
0
 public static uint2 hashwide(uint2x3 v)
 {
     return((v.c0 * uint2(0xD6258E5Bu, 0xEE390C97u) +
             v.c1 * uint2(0x9C8A2F05u, 0x4DDC6509u) +
             v.c2 * uint2(0x7CF083CBu, 0x5C4D6CEDu)) + 0xF9137117u);
 }
Example #11
0
 public static uint hash(uint2x3 v)
 {
     return(csum(v.c0 * uint2(0xEF63C699u, 0x9001903Fu) +
                 v.c1 * uint2(0xA895B9CDu, 0x9D23B201u) +
                 v.c2 * uint2(0x4B01D3E1u, 0x7461CA0Du)) + 0x79725379u);
 }
Example #12
0
 public static uint hash(uint2x3 v)
 {
     return(csum(v.c0 * uint2(0xA88D187Du, 0xCF6EBA1Du) +
                 v.c1 * uint2(0x9D88E5A1u, 0xEADF0775u) +
                 v.c2 * uint2(0x747A9D7Bu, 0x4111F799u)) + 0xB5F05AF1u);
 }
Example #13
0
 public static uint2 hashwide(uint2x3 v)
 {
     return((v.c0 * uint2(0xEF7D56C7u, 0x66F38F0Bu) +
             v.c1 * uint2(0x624256A3u, 0x5292ADE1u) +
             v.c2 * uint2(0xD2E590E5u, 0xF25BE857u)) + 0x9BC17CE7u);
 }
Example #14
0
 public static uint hash(uint2x3 v)
 {
     return(csum(v.c0 * uint2(0x9CDAA959u, 0xAA269ABFu) +
                 v.c1 * uint2(0xD54BA36Fu, 0xFD0847B9u) +
                 v.c2 * uint2(0x8189A683u, 0xB139D651u)) + 0xE7579997u);
 }