title: How to convert python log normal distribution code to c++ code
body: <p>I have a python code to calculate the probability using lognormal distribution function and want to convert it to c++. I tried the boost library but it does not provide the required functionality (as per my findings, please correct me if I am wrong).</p>
  
  <pre class="lang-py prettyprint-override"><code>df['prob'] = (1 - scipy.stats.lognorm(s=sd, loc=0, scale=math.exp(mean)).cdf(df.cum_size))**exponent
  </code></pre>
  
  <p>Can anyone help with this?</p>