<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-histograms:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="produce-from.html"><spanclass="token function">produceFrom</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">histogram<spanclass="token operator">: </span><ahref="../-histogram1-d/index.html">Histogram1D</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="index.html">V</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="../-uniform-histogram1-d/index.html">UniformHistogram1D</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">V</a><spanclass="token operator">></span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-histograms/src/commonMain/kotlin/space/kscience/kmath/histogram/UniformHistogram1D.kt#L107">source</a>)</span></span></div><pclass="paragraph">Re-bin given histogram to be compatible if exiting bin fully falls inside existing bin, this bin value is increased by one. If not, all bins including values from this bin are increased by fraction (conserving the norming).</p></div></div>