<divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation">@</span><ahref="../../space.kscience.kmath.misc/-performance-pitfall/index.html"><spanclass="token annotation">PerformancePitfall</span></a></div></div><spanclass="token keyword">open </span><spanclass="token keyword">override </span><spanclass="token keyword">fun </span><ahref="elements.html"><spanclass="token function">elements</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html">Sequence</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html">IntArray</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><spanclass="token operator">></span><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">Returns the sequence of all the elements associated by their indices.</p><h4class="">Return</h4><pclass="paragraph">the lazy sequence of pairs of indices to values.</p></div></div>