/// <summary> /// Sets the probability of each index. /// </summary> /// <param name="probs">A vector of non-negative, finite numbers. Need not sum to 1.</param> /// <remarks> /// Instead of allocating your own Vector to pass to SetProbs, you can call <see cref="GetWorkspace"/>, /// fill in the resulting Vector, and then pass it to SetProbs. /// </remarks> public void SetProbs(Vector probs) { disc.SetProbs(probs); }