Beispiel #1
0
        private void calcsum(object obj)
        {
            object[] par   = (object[])obj;
            double[] tb    = (double[])par[0];
            ulong    count = (ulong)par[1];
            int      start = (int)par[2];

            HarmonicSumBase.sum(tb, count, (ulong)start, (ulong)ThreadCount);
        }
Beispiel #2
0
 private void SimpleSum(string src)
 {
     AppendLog(count, HarmonicSumBase.sum(count), src);
 }