 a fair die, the probability of rolling a 1 is 50% (!).
        The other five faces are all equally likely.
      </p>
<p>
        <code class="computeroutput"><a class="link" href="../boost/random/discrete_distribution.html" title="Class template discrete_distribution">discrete_distribution</a></code>
        works nicely here by allowing us to assign weights to each of the possible
        outcomes.
      </p>
<div class="tip"><table border="0" summary="Tip">
<tr>
<td rowspan="2" align="center" valign="t