<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-for-real:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="../../kmath-core/space.kscience.kmath.structures/-buffer/-companion/index.html">Buffer.Companion</a><spanclass="token punctuation">.</span><ahref="with-fixed-step.html"><spanclass="token function">withFixedStep</span></a><spanclass="token punctuation">(</span>range<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/-closed-floating-point-range/index.html">ClosedFloatingPointRange</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 operator">></span><spanclass="token punctuation">, </span>step<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="../../kmath-core/space.kscience.kmath.structures/-double-buffer/index.html">DoubleBuffer</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><pclass="paragraph">Create a Buffer-based grid with equally distributed points with a fixed <ahref="with-fixed-step.html">step</a>. The range could be increasing or decreasing. If the step is larger than the range size, single point is returned.</p></div></div>