kmath/kmath-ast/space.kscience.kmath.wasm/index.html

133 lines
19 KiB
HTML

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>space.kscience.kmath.wasm</title>
</head><body><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></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></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async></script><script type="text/javascript" src="../../scripts/main.js" async></script>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<script type="text/javascript" src="../../scripts/main.js"></script><div id="leftToggler"><span class="icon-toggler"></span></div>
<div class="main-content" id="content" pageids="kmath-ast::space.kscience.kmath.wasm////PointingToDeclaration//-359754593">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../index.html">kmath-ast</a>/<a href="index.html">space.kscience.kmath.wasm</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector js-like" data-active="" data-filter=":kmath-ast:dokkaHtmlPartial/jsMain">js</button></div>
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>Package space.</span><wbr><span>kscience.</span><wbr><span>kmath.</span><wbr><span>wasm</span></h1>
</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="-848522842%2FFunctions%2F-359754593" anchor-label="compile" id="-848522842%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>
<div class="table-row" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="compile.html">compile</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-848522842%2FFunctions%2F-359754593"></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="platform-tags ">
<div class="platform-tag js-like">js</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"><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-ast:dokkaHtmlPartial/jsMain"><div class="symbol monospace">fun <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>.<a href="compile.html">compile</a>(algebra: <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>, vararg arguments: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a>&lt;<span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>&gt;): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</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>
<a data-name="1404117819%2FFunctions%2F-359754593" anchor-label="compile" id="1404117819%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a><div class="brief "><a data-name="1404117819%2FFunctions%2F-359754593" anchor-label="compile" id="1404117819%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>Compile given MST to expression and evaluate it against <a href="compile.html">arguments</a>.</div></div>
<div class="divergent-group" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"><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-ast:dokkaHtmlPartial/jsMain"><div class="symbol monospace">fun <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>.<a href="compile.html">compile</a>(algebra: <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>, arguments: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>&gt;): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</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>
<a data-name="-1853479636%2FFunctions%2F-359754593" anchor-label="compile" id="-1853479636%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a><div class="brief "><a data-name="-1853479636%2FFunctions%2F-359754593" anchor-label="compile" id="-1853479636%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>Compile given MST to expression and evaluate it against <a href="compile.html">arguments</a>.</div></div>
<div class="divergent-group" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"><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-ast:dokkaHtmlPartial/jsMain"><div class="symbol monospace">fun <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>.<a href="compile.html">compile</a>(algebra: <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>, vararg arguments: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a>&lt;<span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>&gt;): <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>
<a data-name="-1246723747%2FFunctions%2F-359754593" anchor-label="compile" id="-1246723747%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a><div class="brief "><a data-name="-1246723747%2FFunctions%2F-359754593" anchor-label="compile" id="-1246723747%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>Compile given MST to expression and evaluate it against <a href="compile.html">arguments</a>.</div></div>
<div class="divergent-group" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"><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-ast:dokkaHtmlPartial/jsMain"><div class="symbol monospace">fun <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>.<a href="compile.html">compile</a>(algebra: <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>, arguments: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a>&lt;<span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>, <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>&gt;): <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>
<a data-name="2095529030%2FFunctions%2F-359754593" anchor-label="compile" id="2095529030%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a><div class="brief "><a data-name="2095529030%2FFunctions%2F-359754593" anchor-label="compile" id="2095529030%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>Compile given MST to expression and evaluate it against <a href="compile.html">arguments</a>.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-536460042%2FFunctions%2F-359754593" anchor-label="compileToExpression" id="-536460042%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>
<div class="table-row" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="compile-to-expression.html">compileToExpression</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-536460042%2FFunctions%2F-359754593"></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="platform-tags ">
<div class="platform-tag js-like">js</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"><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-ast:dokkaHtmlPartial/jsMain"><div class="symbol monospace">fun <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>.<a href="compile-to-expression.html">compileToExpression</a>(algebra: <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>): <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>&lt;<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>
<a data-name="1475861170%2FFunctions%2F-359754593" anchor-label="compileToExpression" id="1475861170%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a><div class="brief "><a data-name="1475861170%2FFunctions%2F-359754593" anchor-label="compileToExpression" id="1475861170%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>Create a compiled expression with given MST and given <a href="compile-to-expression.html">algebra</a>.</div></div>
<div class="divergent-group" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"><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-ast:dokkaHtmlPartial/jsMain"><div class="symbol monospace">fun <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>.<a href="compile-to-expression.html">compileToExpression</a>(algebra: <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>): <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</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>
<a data-name="1677332444%2FFunctions%2F-359754593" anchor-label="compileToExpression" id="1677332444%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a><div class="brief "><a data-name="1677332444%2FFunctions%2F-359754593" anchor-label="compileToExpression" id="1677332444%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>Create a compiled expression with given MST and given <a href="compile-to-expression.html">algebra</a>.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-573641810%2FFunctions%2F-359754593" anchor-label="expression" id="-573641810%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>
<div class="table-row" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="expression.html">expression</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-573641810%2FFunctions%2F-359754593"></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="platform-tags ">
<div class="platform-tag js-like">js</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"><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-ast:dokkaHtmlPartial/jsMain"><div class="symbol monospace">fun <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>.<a href="expression.html">expression</a>(mst: <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>): <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>&lt;<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>
<a data-name="-2104912440%2FFunctions%2F-359754593" anchor-label="expression" id="-2104912440%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a><div class="brief "><a data-name="-2104912440%2FFunctions%2F-359754593" anchor-label="expression" id="-2104912440%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>Compiles an MST to WASM in the context of reals.</div></div>
<div class="divergent-group" data-filterable-current=":kmath-ast:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"><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-ast:dokkaHtmlPartial/jsMain"><div class="symbol monospace">fun <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>.<a href="expression.html">expression</a>(mst: <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>): <span data-unresolved-link="/<ERROR CLASS>///PointingToDeclaration/">&lt;ERROR CLASS&gt;</span>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</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>
<a data-name="-827687310%2FFunctions%2F-359754593" anchor-label="expression" id="-827687310%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a><div class="brief "><a data-name="-827687310%2FFunctions%2F-359754593" anchor-label="expression" id="-827687310%2FFunctions%2F-359754593" data-filterable-set=":kmath-ast:dokkaHtmlPartial/jsMain"></a>Compiles an MST to WASM in the context of integers.</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>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body></html>