/// <summary> /// Creates a list of Bernoullis of the specified size, each set to uniform. /// </summary> /// <param name="size">The size of the list</param> public SparseBernoulliList(int size) { LogOddsVector = ApproximateSparseVector.Zero(size, DefaultSparsity); }
/// <summary> /// Creates a list of Bernoullis of the specified size, each set to uniform. /// </summary> /// <param name="size">The size of the list</param> public BernoulliIntegerSubset(int size) { LogOddsVector = ApproximateSparseVector.Zero(size, SparseBernoulliList.DefaultSparsity); }