<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-commons:dokkaHtmlPartial/main"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation builtin">@</span><ahref="https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx-coroutines-core/kotlinx.coroutines/-flow-preview/index.html"><spanclass="token annotation builtin">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="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-commons/src/main/kotlin/space/kscience/kmath/commons/transform/Transformations.kt#L102">source</a>)</span></span></div><pclass="paragraph">Map a complex flow into real flow by taking real part of each number</p></div></div>