<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-commons:dokkaHtmlPartial/main"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation">@</span><ahref="https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx-coroutines-core/kotlinx.coroutines/-flow-preview/index.html"><spanclass="token annotation">FlowPreview</span></a></div></div><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html">Flow</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="../../kmath-complex/space.kscience.kmath.complex/-complex/index.html">Complex</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="real.html"><spanclass="token function">real</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html">Flow</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="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">Map a complex flow into real flow by taking real part of each number</p></div></div>