Beispiel #1
0
 private void GetDRotationTerms(int colSize)
 {
     for (int i = 0; i < colSize; ++i)
     {
         RotationTerms[i] = (_rand.NextFloat() - (Float)0.5) * (Float)Math.PI;
     }
 }
 private void EnsureValue(ref long lastCounter, ref Float value, TauswortheHybrid rng)
 {
     Ch.Assert(lastCounter <= Input.Position);
     while (lastCounter < Input.Position)
     {
         value = rng.NextFloat();
         lastCounter++;
     }
 }