2021-10-13 15:08:46 +03:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
|
|
<title>toSFun</title>
|
2022-04-12 11:30:54 +03:00
|
|
|
</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/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><link href="../../styles/prism.css" rel="Stylesheet"><link href="../../styles/logo-styles.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" defer></script><script type="text/javascript" src="../../scripts/prism.js" async></script><script>const storage = localStorage.getItem("dokka-dark-mode")
|
|
|
|
const savedDarkMode = storage ? JSON.parse(storage) : false
|
|
|
|
if(savedDarkMode === true){
|
|
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
|
|
}</script>
|
|
|
|
|
2021-10-13 15:08:46 +03:00
|
|
|
|
2022-04-12 11:30:54 +03:00
|
|
|
<div class="navigation-wrapper" id="navigation-wrapper">
|
|
|
|
<div id="leftToggler"><span class="icon-toggler"></span></div>
|
|
|
|
<div class="library-name"><a href="../../index.html"><span>kmath</span></a></div>
|
|
|
|
<div></div>
|
|
|
|
<div class="pull-right d-flex"><button id="theme-toggle-button"><span id="theme-toggle"></span></button>
|
|
|
|
<div id="searchBar"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-13 15:08:46 +03:00
|
|
|
<div id="container">
|
2022-04-12 11:30:54 +03:00
|
|
|
<div id="leftColumn">
|
2021-10-13 15:08:46 +03:00
|
|
|
<div id="sideMenu"></div>
|
|
|
|
</div>
|
|
|
|
<div id="main">
|
|
|
|
<div class="main-content" id="content" pageids="kmath-kotlingrad::space.kscience.kmath.kotlingrad//toSFun/space.kscience.kmath.expressions.MST#/PointingToDeclaration//-174194497">
|
2022-04-12 11:30:54 +03:00
|
|
|
<div class="breadcrumbs"><a href="../index.html">kmath-kotlingrad</a>/<a href="index.html">space.kscience.kmath.kotlingrad</a>/<a href="to-s-fun.html">toSFun</a></div>
|
2021-10-13 15:08:46 +03:00
|
|
|
<div class="cover ">
|
2022-04-12 11:30:54 +03:00
|
|
|
<h1 class="cover"><span>to</span><wbr><span><span>SFun</span></span></h1>
|
2021-10-13 15:08:46 +03:00
|
|
|
</div>
|
2022-04-12 11:30:54 +03:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-kotlingrad:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="to-s-fun.html">X</a><span class="token operator"> : </span><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SFun///PointingToDeclaration/">SFun</span><span class="token operator"><</span><span class="token keyword"></span><a href="to-s-fun.html">X</a><span class="token operator">></span><span class="token operator">> </span><a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a><span class="token punctuation">.</span><a href="to-s-fun.html"><span class="token function">toSFun</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SFun///PointingToDeclaration/">SFun</span><span class="token operator"><</span><span class="token keyword"></span><a href="to-s-fun.html">X</a><span class="token operator">></span><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">Maps <a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a> objects to <span data-unresolved-link="ai.hypergraph.kotlingrad.api/SFun///PointingToDeclaration/">SFun</span>. Unsupported operations throw <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-state-exception/index.html">IllegalStateException</a>.</p><p class="paragraph">Detailed mapping is:</p><ul><li><p class="paragraph"><a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/-numeric/index.html">MST.Numeric</a> -><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SConst///PointingToDeclaration/">SConst</span>;</p></li><li><p class="paragraph"><a href="../../kmath-core/space.kscience.kmath.expressions/-symbol/index.html">Symbol</a> -><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SVar///PointingToDeclaration/">SVar</span>;</p></li><li><p class="paragraph"><a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/-unary/index.html">MST.Unary</a> -><span data-unresolved-link="ai.hypergraph.kotlingrad.api/Negative///PointingToDeclaration/">Negative</span>, <span data-unresolved-link="ai.hypergraph.kotlingrad.api/Sine///PointingToDeclaration/">Sine</span>, <span data-unresolved-link="ai.hypergraph.kotlingrad.api/Cosine///PointingToDeclaration/">Cosine</span>, <span data-unresolved-link="ai.hypergraph.kotlingrad.api/Tangent///PointingToDeclaration/">Tangent</span>, <span data-unresolved-link="ai.hypergraph.kotlingrad.api/Power///PointingToDeclaration/">Power</span>, <span data-unresolved-link="ai.hypergraph.kotlingrad.api/Log///PointingToDeclaration/">Log</span>;</p></li><li><p class="paragraph"><a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/-binary/index.html">MST.Binary</a> -><span data-unresolved-link="ai.hypergraph.kotlingrad.api/Sum///PointingToDeclaration/">Sum</span>, <span data-unresolved-link="ai.hypergraph.kotlingrad.api/Prod///PointingToDeclaration/">Prod</span>, <span data-unresolved-link="ai.hypergraph.kotlingrad.api/Power///PointingToDeclaration/">Power</span>.</p></li></ul><h4 class="">Receiver</h4><p class="paragraph">The node.</p><h4 class="">Return</h4><p class="paragraph">A scalar function.</p></div></div>
|
2021-10-13 15:08:46 +03:00
|
|
|
<h2 class="">Sources</h2>
|
|
|
|
<div class="table" data-togglable="Sources"><a data-name="-166397262%2FSource%2F-174194497" anchor-label="https://github.com/mipt-npm/kmath/tree/master/kmath-kotlingrad/src/main/kotlin/space/kscience/kmath/kotlingrad/scalarsAdapters.kt#L91" id="-166397262%2FSource%2F-174194497" data-filterable-set=":kmath-kotlingrad:dokkaHtmlPartial/main"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":kmath-kotlingrad:dokkaHtmlPartial/main" data-filterable-set=":kmath-kotlingrad:dokkaHtmlPartial/main">
|
|
|
|
<div class="main-subrow keyValue ">
|
2022-04-12 11:30:54 +03:00
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="https://github.com/mipt-npm/kmath/tree/master/kmath-kotlingrad/src/main/kotlin/space/kscience/kmath/kotlingrad/scalarsAdapters.kt#L91">jvm source</a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-166397262%2FSource%2F-174194497"></span>
|
2021-10-13 15:08:46 +03:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-12 11:30:54 +03:00
|
|
|
<div class="footer"><span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 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>
|
2021-10-13 15:08:46 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body></html>
|
|
|
|
|
|
|
|
|