public void RestoreAllBelowEqualDacs(int numOfDac)
 {
     for (int k = numOfDac; k >= 0; k--)
     {
         for (int r = 0; r < n; r++)
         {
             inputDacs[k][r] = new BinaryWeight(Math.Pow(2, r), k, r);
         }
     }
 }
Example #2
0
 public void AddCombinations(BinaryWeight weight)
 {
     this.weight += weight.weight;
     bitWeightCombinations.Add(weight);
 }