Example #1
0
 public unsafe override float Dot(float[] a, float[] b)
 {
     int[] indx = new int[a.Length];
     for (int i = 0; i < a.Length; i++)
     {
         indx[i] = i;
     }
     return(CBLASNative.cblas_sdoti(a.Length, a, indx, b));
 }
Example #2
0
 public unsafe override double Dot(double[] a, double[] b)
 {
     int[] indx = new int[a.Length];
     for (int i = 0; i < a.Length; i++)
     {
         indx[i] = i;
     }
     return(CBLASNative.cblas_ddoti(a.Length, a, indx, b));
 }