public unsafe float NativeDist2Perf()
 {
     fixed(float *psrc = src)
     fixed(float *pdst = dst)
     {
         return(CpuMathNativeUtils.Dist2(psrc, pdst, LEN));
     }
 }
示例#2
0
 public unsafe float Dist2()
 {
     fixed(float *psrc = src)
     fixed(float *pdst = dst)
     {
         return(CpuMathNativeUtils.Dist2(psrc, pdst, Length));
     }
 }