コード例 #1
0
 public static uint3x4 transpose(uint4x3 v)
 {
     return(uint3x4(
                v.c0.x, v.c0.y, v.c0.z, v.c0.w,
                v.c1.x, v.c1.y, v.c1.z, v.c1.w,
                v.c2.x, v.c2.y, v.c2.z, v.c2.w));
 }
コード例 #2
0
 public static float4x3 float4x3(uint4x3 v)
 {
     return(new float4x3(v));
 }
コード例 #3
0
 public float4x3(uint4x3 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
     this.c2 = v.c2;
 }
コード例 #4
0
 public int4x3(uint4x3 v)
 {
     this.c0 = (int4)v.c0;
     this.c1 = (int4)v.c1;
     this.c2 = (int4)v.c2;
 }
コード例 #5
0
 public static int4x3 int4x3(uint4x3 v)
 {
     return(new int4x3(v));
 }
コード例 #6
0
 public static double4x3 double4x3(uint4x3 v)
 {
     return(new double4x3(v));
 }
コード例 #7
0
 public double4x3(uint4x3 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
     this.c2 = v.c2;
 }
コード例 #8
0
 public static uint4 hashwide(uint4x3 v)
 {
     return((v.c0 * uint4(0x9CDC88F5u, 0xFA62D721u, 0x7E4DB1CFu, 0x68EEE0F5u) +
             v.c1 * uint4(0xBC3B0A59u, 0x816EFB5Du, 0xA24E82B7u, 0x45A22087u) +
             v.c2 * uint4(0xFC104C3Bu, 0x5FFF6B19u, 0x5E6CBF3Bu, 0xB546F2A5u)) + 0xBBCF63E7u);
 }
コード例 #9
0
 public static uint hash(uint4x3 v)
 {
     return(csum(v.c0 * uint4(0xE7579997u, 0xEF7D56C7u, 0x66F38F0Bu, 0x624256A3u) +
                 v.c1 * uint4(0x5292ADE1u, 0xD2E590E5u, 0xF25BE857u, 0x9BC17CE7u) +
                 v.c2 * uint4(0xC8B86851u, 0x64095221u, 0xADF428FFu, 0xA3977109u)) + 0x745ED837u);
 }
コード例 #10
0
 public static uint4 hashwide(uint4x3 v)
 {
     return((v.c0 * uint4(0xBC3B0A59u, 0x816EFB5Du, 0xA24E82B7u, 0x45A22087u) +
             v.c1 * uint4(0xFC104C3Bu, 0x5FFF6B19u, 0x5E6CBF3Bu, 0xB546F2A5u) +
             v.c2 * uint4(0xBBCF63E7u, 0xC53F4755u, 0x6985C229u, 0xE133B0B3u)) + 0xC3E0A3B9u);
 }
コード例 #11
0
 public static uint hash(uint4x3 v)
 {
     return(csum(v.c0 * uint4(0x5292ADE1u, 0xD2E590E5u, 0xF25BE857u, 0x9BC17CE7u) +
                 v.c1 * uint4(0xC8B86851u, 0x64095221u, 0xADF428FFu, 0xA3977109u) +
                 v.c2 * uint4(0x745ED837u, 0x9CDC88F5u, 0xFA62D721u, 0x7E4DB1CFu)) + 0x68EEE0F5u);
 }
コード例 #12
0
 public static uint4 hashwide(uint4x3 v)
 {
     return((v.c0 * uint4(0x68586FAFu, 0xD4DFF6D3u, 0xCB634F4Du, 0x9B13B92Du) +
             v.c1 * uint4(0x4ABF0813u, 0x86068063u, 0xD75513F9u, 0x5AB3E8CDu) +
             v.c2 * uint4(0x676E8407u, 0xB36DE767u, 0x6FCA387Du, 0xAF0F3103u)) + 0xE4A056C7u);
 }
コード例 #13
0
 public static uint hash(uint4x3 v)
 {
     return(csum(v.c0 * uint4(0x4C7F6DD1u, 0x4822A3E9u, 0xAAC3C25Du, 0xD21D0945u) +
                 v.c1 * uint4(0x88FCAB2Du, 0x614DA60Du, 0x5BA2C50Bu, 0x8C455ACBu) +
                 v.c2 * uint4(0xCD266C89u, 0xF1852A33u, 0x77E35E77u, 0x863E3729u)) + 0xE191B035u);
 }
コード例 #14
0
 public static uint hash(uint4x3 v)
 {
     return(csum(v.c0 * uint4(0xAF642BA9u, 0xA8F2213Bu, 0x9F3FDC37u, 0xAC60D0C3u) +
                 v.c1 * uint4(0x9263662Fu, 0xE69626FFu, 0xBD010EEBu, 0x9CEDE1D1u) +
                 v.c2 * uint4(0x43BE0B51u, 0xAF836EE1u, 0xB130C137u, 0x54834775u)) + 0x7C022221u);
 }