Esempio n. 1
0
 public static double3x4 transpose(double4x3 v)
 {
     return(double3x4(
                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));
 }
Esempio n. 2
0
 public static int4x3 int4x3(double4x3 v)
 {
     return(new int4x3(v));
 }
Esempio n. 3
0
 public int4x3(double4x3 v)
 {
     this.c0 = (int4)v.c0;
     this.c1 = (int4)v.c1;
     this.c2 = (int4)v.c2;
 }
Esempio n. 4
0
 public static uint4 hashwide(double4x3 v)
 {
     return((fold_to_uint(v.c0) * uint4(0x7C022221u, 0xA2D00EDFu, 0xA8977779u, 0x9F1C739Bu) +
             fold_to_uint(v.c1) * uint4(0x4B1BD187u, 0x9DF50593u, 0xF18EEB85u, 0x9E19BFC3u) +
             fold_to_uint(v.c2) * uint4(0x8196B06Fu, 0xD24EFA19u, 0x7D8048BBu, 0x713BD06Fu)) + 0x753AD6ADu);
 }
Esempio n. 5
0
 public static uint hash(double4x3 v)
 {
     return(csum(fold_to_uint(v.c0) * uint4(0x7AA07CD3u, 0xAF642BA9u, 0xA8F2213Bu, 0x9F3FDC37u) +
                 fold_to_uint(v.c1) * uint4(0xAC60D0C3u, 0x9263662Fu, 0xE69626FFu, 0xBD010EEBu) +
                 fold_to_uint(v.c2) * uint4(0x9CEDE1D1u, 0x43BE0B51u, 0xAF836EE1u, 0xB130C137u)) + 0x54834775u);
 }
Esempio n. 6
0
 public static float4x3 float4x3(double4x3 v)
 {
     return(new float4x3(v));
 }
Esempio n. 7
0
 public float4x3(double4x3 v)
 {
     this.c0 = (float4)v.c0;
     this.c1 = (float4)v.c1;
     this.c2 = (float4)v.c2;
 }
Esempio n. 8
0
 public static uint4x3 uint4x3(double4x3 v)
 {
     return(new uint4x3(v));
 }