<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-for-real:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation builtin">@</span><ahref="../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html"><spanclass="token annotation builtin">UnstableKMathAPI</span></a></div></div><spanclass="token keyword">infix </span><spanclass="token keyword">fun </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><ahref="step.html"><spanclass="token function">step</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">step<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="../../kmath-core/space.kscience.kmath.structures/-double-buffer/index.html">DoubleBuffer</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-for-real/src/commonMain/kotlin/space/kscience/kmath/real/grids.kt#L54">source</a>)</span></span></div><pclass="paragraph">Convert double range to sequence.</p><pclass="paragraph">If the step is positive, then the sequence starts with the lower boundary and increments by <ahref="step.html">step</a> until current value is lower than upper boundary. The boundary itself is unnecessarily included.</p><pclass="paragraph">If step is negative, the same goes from upper boundary downwards</p></div></div>