kmath/kmath-commons/kmath-commons/space.kscience.kmath.commons.transform/-transformations/index.html

189 lines
23 KiB
HTML
Raw Normal View History

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>Transformations</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../../";</script>
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script>
<link href="../../../styles/style.css" rel="Stylesheet">
<link href="../../../styles/logo-styles.css" rel="Stylesheet">
<link href="../../../styles/jetbrains-mono.css" rel="Stylesheet">
<link href="../../../styles/main.css" rel="Stylesheet">
<script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script>
<script type="text/javascript" src="../../../scripts/main.js" async="async"></script>
</head>
<body>
<div id="container">
<div id="leftColumn">
<div id="logo"></div>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/pages.js"></script>
<script type="text/javascript" src="../../../scripts/main.js"></script>
<div class="main-content" id="content" pageIds="space.kscience.kmath.commons.transform/Transformations///PointingToDeclaration//-2141946743">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">kmath-commons</a>/<a href="../index.html">space.kscience.kmath.commons.transform</a>/<a href="index.html">Transformations</a></div>
<div class="pull-right d-flex">
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>Transformations</span></h1>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-commons:dokkaHtml/main"><div class="symbol monospace">object <a href="index.html">Transformations</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><p class="paragraph">Streaming and buffer transformations</p></div></div>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button></div>
<div class="tabs-section-body">
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Fcosine%2F%23org.apache.commons.math3.transform.DctNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" anchor-label="cosine" id="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Fcosine%2F%23org.apache.commons.math3.transform.DctNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" data-filterable-set=":kmath-commons:dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="cosine.html">cosine</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Fcosine%2F%23org.apache.commons.math3.transform.DctNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-commons:dokkaHtml/main"><div class="symbol monospace">fun <a href="cosine.html">cosine</a>(normalization: <span data-unresolved-link="org.apache.commons.math3.transform/DctNormalization///PointingToDeclaration/">DctNormalization</span> = DctNormalization.STANDARD_DCT_I, direction: <span data-unresolved-link="org.apache.commons.math3.transform/TransformType///PointingToDeclaration/">TransformType</span> = TransformType.FORWARD): <span data-unresolved-link="space.kscience.kmath.structures/SuspendBufferTransform///PointingToDeclaration/">SuspendBufferTransform</span>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bkotlin%2FAny%2Fequals%2F%23kotlin.Any%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" anchor-label="equals" id="%5Bkotlin%2FAny%2Fequals%2F%23kotlin.Any%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" data-filterable-set=":kmath-commons:dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="index.html#%5Bkotlin%2FAny%2Fequals%2F%23kotlin.Any%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743">equals</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bkotlin%2FAny%2Fequals%2F%23kotlin.Any%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-commons:dokkaHtml/main"><div class="symbol monospace">open operator fun <a href="index.html#%5Bkotlin%2FAny%2Fequals%2F%23kotlin.Any%3F%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743">equals</a>(other: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Ffourier%2F%23org.apache.commons.math3.transform.DftNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" anchor-label="fourier" id="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Ffourier%2F%23org.apache.commons.math3.transform.DftNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" data-filterable-set=":kmath-commons:dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="fourier.html">fourier</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Ffourier%2F%23org.apache.commons.math3.transform.DftNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-commons:dokkaHtml/main"><div class="symbol monospace">fun <a href="fourier.html">fourier</a>(normalization: <span data-unresolved-link="org.apache.commons.math3.transform/DftNormalization///PointingToDeclaration/">DftNormalization</span> = DftNormalization.STANDARD, direction: <span data-unresolved-link="org.apache.commons.math3.transform/TransformType///PointingToDeclaration/">TransformType</span> = TransformType.FORWARD): <span data-unresolved-link="space.kscience.kmath.structures/SuspendBufferTransform///PointingToDeclaration/">SuspendBufferTransform</span>&lt;<span data-unresolved-link="space.kscience.kmath.complex/Complex///PointingToDeclaration/">Complex</span>, <span data-unresolved-link="space.kscience.kmath.complex/Complex///PointingToDeclaration/">Complex</span>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Fhadamard%2F%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" anchor-label="hadamard" id="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Fhadamard%2F%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" data-filterable-set=":kmath-commons:dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="hadamard.html">hadamard</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Fhadamard%2F%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-commons:dokkaHtml/main"><div class="symbol monospace">fun <a href="hadamard.html">hadamard</a>(direction: <span data-unresolved-link="org.apache.commons.math3.transform/TransformType///PointingToDeclaration/">TransformType</span> = TransformType.FORWARD): <span data-unresolved-link="space.kscience.kmath.structures/SuspendBufferTransform///PointingToDeclaration/">SuspendBufferTransform</span>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bkotlin%2FAny%2FhashCode%2F%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" anchor-label="hashCode" id="%5Bkotlin%2FAny%2FhashCode%2F%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" data-filterable-set=":kmath-commons:dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="index.html#%5Bkotlin%2FAny%2FhashCode%2F%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743">hashCode</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bkotlin%2FAny%2FhashCode%2F%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-commons:dokkaHtml/main"><div class="symbol monospace">open fun <a href="index.html#%5Bkotlin%2FAny%2FhashCode%2F%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743">hashCode</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2FrealFourier%2F%23org.apache.commons.math3.transform.DftNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" anchor-label="realFourier" id="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2FrealFourier%2F%23org.apache.commons.math3.transform.DftNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" data-filterable-set=":kmath-commons:dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="real-fourier.html">realFourier</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2FrealFourier%2F%23org.apache.commons.math3.transform.DftNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-commons:dokkaHtml/main"><div class="symbol monospace">fun <a href="real-fourier.html">realFourier</a>(normalization: <span data-unresolved-link="org.apache.commons.math3.transform/DftNormalization///PointingToDeclaration/">DftNormalization</span> = DftNormalization.STANDARD, direction: <span data-unresolved-link="org.apache.commons.math3.transform/TransformType///PointingToDeclaration/">TransformType</span> = TransformType.FORWARD): <span data-unresolved-link="space.kscience.kmath.structures/SuspendBufferTransform///PointingToDeclaration/">SuspendBufferTransform</span>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, <span data-unresolved-link="space.kscience.kmath.complex/Complex///PointingToDeclaration/">Complex</span>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Fsine%2F%23org.apache.commons.math3.transform.DstNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" anchor-label="sine" id="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Fsine%2F%23org.apache.commons.math3.transform.DstNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" data-filterable-set=":kmath-commons:dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="sine.html">sine</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bspace.kscience.kmath.commons.transform%2FTransformations%2Fsine%2F%23org.apache.commons.math3.transform.DstNormalization%23org.apache.commons.math3.transform.TransformType%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-commons:dokkaHtml/main"><div class="symbol monospace">fun <a href="sine.html">sine</a>(normalization: <span data-unresolved-link="org.apache.commons.math3.transform/DstNormalization///PointingToDeclaration/">DstNormalization</span> = DstNormalization.STANDARD_DST_I, direction: <span data-unresolved-link="org.apache.commons.math3.transform/TransformType///PointingToDeclaration/">TransformType</span> = TransformType.FORWARD): <span data-unresolved-link="space.kscience.kmath.structures/SuspendBufferTransform///PointingToDeclaration/">SuspendBufferTransform</span>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="%5Bkotlin%2FAny%2FtoString%2F%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" anchor-label="toString" id="%5Bkotlin%2FAny%2FtoString%2F%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743" data-filterable-set=":kmath-commons:dokkaHtml/main"></a>
<div class="table-row" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="index.html#%5Bkotlin%2FAny%2FtoString%2F%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743">toString</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="%5Bkotlin%2FAny%2FtoString%2F%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-commons:dokkaHtml/main" data-filterable-set=":kmath-commons:dokkaHtml/main"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-commons:dokkaHtml/main"><div class="symbol monospace">open fun <a href="index.html#%5Bkotlin%2FAny%2FtoString%2F%23%2FPointingToDeclaration%2F%5D%2FFunctions%2F-2141946743">toString</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2020 Copyright</span><span class="pull-right"><span>Sponsored and developed by dokka</span><a href="https://github.com/Kotlin/dokka"><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>