Example #1
0
 public int3x4(uint3x4 v)
 {
     this.c0 = (int3)v.c0;
     this.c1 = (int3)v.c1;
     this.c2 = (int3)v.c2;
     this.c3 = (int3)v.c3;
 }
 public double3x4(uint3x4 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
     this.c2 = v.c2;
     this.c3 = v.c3;
 }
Example #3
0
 public float3x4(uint3x4 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
     this.c2 = v.c2;
     this.c3 = v.c3;
 }
Example #4
0
 public static uint3 hashwide(uint3x4 v)
 {
     return((v.c0 * uint3(0x5EAC29C9u, 0xFC6014F9u, 0x6BF6693Fu) +
             v.c1 * uint3(0x9D1B1D9Bu, 0xF842F5C1u, 0xA47EC335u) +
             v.c2 * uint3(0xA477DF57u, 0xC4B1493Fu, 0xBA0966D3u) +
             v.c3 * uint3(0xAFBEE253u, 0x5B419C01u, 0x515D90F5u)) + 0xEC9F68F3u);
 }
Example #5
0
 public static uint3 hashwide(uint3x4 v)
 {
     return((v.c0 * uint3(0xC2FAFCB9u, 0x616E9CA1u, 0xC5C5394Bu) +
             v.c1 * uint3(0xCAE78587u, 0x7A1541C9u, 0xF83BD927u) +
             v.c2 * uint3(0x6A243BCBu, 0x509B84C9u, 0x91D13847u) +
             v.c3 * uint3(0x52F7230Fu, 0xCF286E83u, 0xE121E6ADu)) + 0xC9CA1249u);
 }
Example #6
0
 public static uint hash(uint3x4 v)
 {
     return(csum(v.c0 * uint3(0xD1224537u, 0xE99ED6F3u, 0x48125549u) +
                 v.c1 * uint3(0xEEE2123Bu, 0xE3AD9FE5u, 0xCE1CF8BFu) +
                 v.c2 * uint3(0x7BE39F3Bu, 0xFAB9913Fu, 0xB4501269u) +
                 v.c3 * uint3(0xE04B89FDu, 0xDB3DE101u, 0x7B6D1B4Bu)) + 0x58399E77u);
 }
Example #7
0
 public static uint hash(uint3x4 v)
 {
     return(csum(v.c0 * uint3(0xFC6014F9u, 0x6BF6693Fu, 0x9D1B1D9Bu) +
                 v.c1 * uint3(0xF842F5C1u, 0xA47EC335u, 0xA477DF57u) +
                 v.c2 * uint3(0xC4B1493Fu, 0xBA0966D3u, 0xAFBEE253u) +
                 v.c3 * uint3(0x5B419C01u, 0x515D90F5u, 0xEC9F68F3u)) + 0xF9EA92D5u);
 }
 public static uint hash(uint3x4 v)
 {
     return(csum(v.c0 * uint3(0xF1852A33u, 0x77E35E77u, 0x863E3729u) +
                 v.c1 * uint3(0xE191B035u, 0x68586FAFu, 0xD4DFF6D3u) +
                 v.c2 * uint3(0xCB634F4Du, 0x9B13B92Du, 0x4ABF0813u) +
                 v.c3 * uint3(0x86068063u, 0xD75513F9u, 0x5AB3E8CDu)) + 0x676E8407u);
 }
Example #9
0
 public static uint3 hashwide(uint3x4 v)
 {
     return((v.c0 * uint3(0xDCAF0351u, 0x6E050B01u, 0x750FDBF5u) +
             v.c1 * uint3(0x7F3DD499u, 0x52EAAEBBu, 0x4599C793u) +
             v.c2 * uint3(0x83B5E729u, 0xC267163Fu, 0x67BC9149u) +
             v.c3 * uint3(0xAD7C5EC1u, 0x822A7D6Du, 0xB492BF15u)) + 0xD37220E3u);
 }
Example #10
0
 public static uint hash(uint3x4 v)
 {
     return(csum(v.c0 * uint3(0xB546F2A5u, 0xBBCF63E7u, 0xC53F4755u) +
                 v.c1 * uint3(0x6985C229u, 0xE133B0B3u, 0xC3E0A3B9u) +
                 v.c2 * uint3(0xFE31134Fu, 0x712A34D7u, 0x9D77A59Bu) +
                 v.c3 * uint3(0x4942CA39u, 0xB40EC62Du, 0x565ED63Fu)) + 0x93C30C2Bu);
 }
Example #11
0
 public static uint4x3 transpose(uint3x4 v)
 {
     return(uint4x3(
                v.c0.x, v.c0.y, v.c0.z,
                v.c1.x, v.c1.y, v.c1.z,
                v.c2.x, v.c2.y, v.c2.z,
                v.c3.x, v.c3.y, v.c3.z));
 }
 public static double3x4 double3x4(uint3x4 v)
 {
     return(new double3x4(v));
 }
Example #13
0
 public static int3x4 int3x4(uint3x4 v)
 {
     return(new int3x4(v));
 }
Example #14
0
 public static float3x4 float3x4(uint3x4 v)
 {
     return(new float3x4(v));
 }