Example #1
0
 public void InitValuesUniformCPU(float max)
 {
     for (var i = 0; i < this.Length; i++)
     {
         var val = (float)RandomHelpers.NextFloat();
         CPUArray[i] = (val * max * 2f) - max;
     }
 }