                          <span class="identifier">F</span> f<span class="special">)</span><span class="special">;</span></pre>
<p>Constructs a <code class="computeroutput"><a class="link" href="piecewise_line_idp82782016.html" title="Class template piecewise_linear_distribution">piecewise_linear_distribution</a></code> that approximates a function. The range of the distribution is [xmin, xmax). This range is divided into nw equally sized intervals and the weights are found by calling the unary function f o