kmath/kmath-kotlingrad/space.kscience.kmath.kotlingrad/index.html

184 lines
28 KiB
HTML

<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>space.kscience.kmath.kotlingrad</title>
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script> <script>const storage = localStorage.getItem("dokka-dark-mode")
if (storage == null) {
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
if (osDarkSchemePreferred === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
} else {
const savedDarkMode = JSON.parse(storage)
if(savedDarkMode === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
}
</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 type="text/javascript" src="../../scripts/symbol-parameters-wrapper_deferred.js" defer></script></head>
<body>
<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>0.3.1-dev-RC
</div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section">
<button class="platform-tag platform-selector jvm-like" data-active="" data-filter=":kmath-kotlingrad:dokkaHtmlPartial/main">jvm</button>
</div>
<button id="theme-toggle-button"><span id="theme-toggle"></span></button>
<div id="searchBar"></div>
</div>
</div>
<div id="container">
<div id="leftColumn">
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" data-page-type="package" id="content" pageids="kmath-kotlingrad::space.kscience.kmath.kotlingrad////PointingToDeclaration//-174194497">
<div class="breadcrumbs"><a href="../index.html">kmath-kotlingrad</a><span class="delimiter">/</span><span class="current">space.kscience.kmath.kotlingrad</span></div>
<div class="cover ">
<h1 class="cover"><span><span>Package-level</span></span> <span><span>declarations</span></span></h1>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="TYPE">Types</button><button class="section-tab" data-togglable="FUNCTION,EXTENSION_FUNCTION">Functions</button></div>
<div class="tabs-section-body">
<div data-togglable="TYPE">
<h2 class="">Types</h2>
<div class="table"><a data-name="316236077%2FClasslikes%2F-174194497" anchor-label="KMathNumber" id="316236077%2FClasslikes%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 ">
<div class=""><span class="inline-flex">
<div><a href="-k-math-number/index.html"><span>KMath</span><wbr><span><span>Number</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="316236077%2FClasslikes%2F-174194497"></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="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-kotlingrad:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword">class </span><a href="-k-math-number/index.html">KMathNumber</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-k-math-number/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-k-math-number/index.html">A</a><span class="token operator"> : </span><a href="../../kmath-core/space.kscience.kmath.operations/-numeric-algebra/index.html">NumericAlgebra</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-k-math-number/index.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>algebra<span class="token operator">: </span><a href="-k-math-number/index.html">A</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>value<span class="token operator">: </span><a href="-k-math-number/index.html">T</a></span></span><span class="token punctuation">)</span> : <span data-unresolved-link="ai.hypergraph.kotlingrad.api/SConst///PointingToDeclaration/">SConst</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-k-math-number/index.html">KMathNumber</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-k-math-number/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-k-math-number/index.html">A</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span></div><div class="brief "><p class="paragraph">Implements <span data-unresolved-link="ai.hypergraph.kotlingrad.api/SConst///PointingToDeclaration/">SConst</span> by delegating its functionality to <a href="../../kmath-core/space.kscience.kmath.operations/-numeric-algebra/index.html">NumericAlgebra</a>.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1880562286%2FClasslikes%2F-174194497" anchor-label="KotlingradExpression" id="-1880562286%2FClasslikes%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 ">
<div class=""><span class="inline-flex">
<div><a href="-kotlingrad-expression/index.html"><span>Kotlingrad</span><wbr><span><span>Expression</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1880562286%2FClasslikes%2F-174194497"></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="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-kotlingrad:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword">class </span><a href="-kotlingrad-expression/index.html">KotlingradExpression</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-kotlingrad-expression/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-kotlingrad-expression/index.html">A</a><span class="token operator"> : </span><a href="../../kmath-core/space.kscience.kmath.operations/-numeric-algebra/index.html">NumericAlgebra</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-kotlingrad-expression/index.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>algebra<span class="token operator">: </span><a href="-kotlingrad-expression/index.html">A</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>mst<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a></span></span><span class="token punctuation">)</span> : <a href="../../kmath-core/space.kscience.kmath.expressions/-special-differentiable-expression/index.html">SpecialDifferentiableExpression</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-kotlingrad-expression/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-kotlingrad-expression/index.html">KotlingradExpression</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-kotlingrad-expression/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-kotlingrad-expression/index.html">A</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span></div><div class="brief "><p class="paragraph">Represents <a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a> based <a href="../../kmath-core/space.kscience.kmath.expressions/-differentiable-expression/index.html">DifferentiableExpression</a> relying on <a href="https://github.com/breandan/kotlingrad">Kotlin∇</a>.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1447569350%2FClasslikes%2F-174194497" anchor-label="KotlingradProcessor" id="1447569350%2FClasslikes%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 ">
<div class=""><span class="inline-flex">
<div><a href="-kotlingrad-processor/index.html"><span>Kotlingrad</span><wbr><span><span>Processor</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1447569350%2FClasslikes%2F-174194497"></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="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-kotlingrad:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword">class </span><a href="-kotlingrad-processor/index.html">KotlingradProcessor</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-kotlingrad-processor/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-kotlingrad-processor/index.html">A</a><span class="token operator"> : </span><a href="../../kmath-core/space.kscience.kmath.operations/-numeric-algebra/index.html">NumericAlgebra</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-kotlingrad-processor/index.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>algebra<span class="token operator">: </span><a href="-kotlingrad-processor/index.html">A</a></span></span><span class="token punctuation">)</span> : <a href="../../kmath-core/space.kscience.kmath.expressions/-auto-diff-processor/index.html">AutoDiffProcessor</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-kotlingrad-processor/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../../kmath-core/space.kscience.kmath.expressions/-mst-extended-field/index.html">MstExtendedField</a><span class="token operator">&gt; </span></div><div class="brief "><p class="paragraph">A diff processor using <a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a> to Kotlingrad converter</p></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div data-togglable="EXTENSION_FUNCTION">
<h2 class="">Functions</h2>
<div class="table"><a data-name="-645009634%2FFunctions%2F-174194497" anchor-label="toKotlingradExpression" id="-645009634%2FFunctions%2F-174194497" data-filterable-set=":kmath-kotlingrad:dokkaHtmlPartial/main"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-kotlingrad:dokkaHtmlPartial/main" data-filterable-set=":kmath-kotlingrad:dokkaHtmlPartial/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="to-kotlingrad-expression.html"><span>to</span><wbr><span>Kotlingrad</span><wbr><span><span>Expression</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-645009634%2FFunctions%2F-174194497"></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="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-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">&lt;</span><span class="token keyword"></span><a href="to-kotlingrad-expression.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="to-kotlingrad-expression.html">A</a><span class="token operator"> : </span><a href="../../kmath-core/space.kscience.kmath.operations/-numeric-algebra/index.html">NumericAlgebra</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-kotlingrad-expression.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a><span class="token punctuation">.</span><a href="to-kotlingrad-expression.html"><span class="token function">toKotlingradExpression</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">algebra<span class="token operator">: </span><a href="to-kotlingrad-expression.html">A</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-kotlingrad-expression/index.html">KotlingradExpression</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-kotlingrad-expression.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="to-kotlingrad-expression.html">A</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Wraps this <a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a> into <a href="-kotlingrad-expression/index.html">KotlingradExpression</a> in the context of <a href="to-kotlingrad-expression.html">algebra</a>.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-265982089%2FFunctions%2F-174194497" anchor-label="toMst" id="-265982089%2FFunctions%2F-174194497" data-filterable-set=":kmath-kotlingrad:dokkaHtmlPartial/main"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-kotlingrad:dokkaHtmlPartial/main" data-filterable-set=":kmath-kotlingrad:dokkaHtmlPartial/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="to-mst.html"><span>to</span><wbr><span><span>Mst</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-265982089%2FFunctions%2F-174194497"></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="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-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">&lt;</span><span class="token keyword"></span><a href="to-mst.html">X</a><span class="token operator"> : </span><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SFun///PointingToDeclaration/">SFun</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-mst.html">X</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SConst///PointingToDeclaration/">SConst</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-mst.html">X</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="to-mst.html"><span class="token function">toMst</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/-numeric/index.html">MST.Numeric</a></div><div class="brief "><p class="paragraph">Maps <span data-unresolved-link="ai.hypergraph.kotlingrad.api/SVar///PointingToDeclaration/">SVar</span> to <a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/-numeric/index.html">MST.Numeric</a> directly.</p></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-mst.html">X</a><span class="token operator"> : </span><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SFun///PointingToDeclaration/">SFun</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-mst.html">X</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SFun///PointingToDeclaration/">SFun</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-mst.html">X</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="to-mst.html"><span class="token function">toMst</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a></div><div class="brief "><p class="paragraph">Maps <span data-unresolved-link="ai.hypergraph.kotlingrad.api/SFun///PointingToDeclaration/">SFun</span> objects to <a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a>. Some unsupported operations like <span data-unresolved-link="ai.hypergraph.kotlingrad.api/Derivative///PointingToDeclaration/">Derivative</span> are bound and converted then. <span data-unresolved-link="ai.hypergraph.kotlingrad.api/Power///PointingToDeclaration/">Power</span> operation is limited to constant right-hand side arguments.</p></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-mst.html">X</a><span class="token operator"> : </span><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SFun///PointingToDeclaration/">SFun</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-mst.html">X</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SVar///PointingToDeclaration/">SVar</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-mst.html">X</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="to-mst.html"><span class="token function">toMst</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.expressions/-symbol/index.html">Symbol</a></div><div class="brief "><p class="paragraph">Maps <span data-unresolved-link="ai.hypergraph.kotlingrad.api/SVar///PointingToDeclaration/">SVar</span> to <a href="../../kmath-core/space.kscience.kmath.expressions/-symbol/index.html">Symbol</a> directly.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1775272691%2FFunctions%2F-174194497" anchor-label="toSConst" id="-1775272691%2FFunctions%2F-174194497" data-filterable-set=":kmath-kotlingrad:dokkaHtmlPartial/main"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-kotlingrad:dokkaHtmlPartial/main" data-filterable-set=":kmath-kotlingrad:dokkaHtmlPartial/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="to-s-const.html"><span>to</span><wbr><span><span>SConst</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1775272691%2FFunctions%2F-174194497"></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="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-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">&lt;</span><span class="token keyword"></span><a href="to-s-const.html">X</a><span class="token operator"> : </span><span data-unresolved-link="ai.hypergraph.kotlingrad.api/SFun///PointingToDeclaration/">SFun</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-s-const.html">X</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/-numeric/index.html">MST.Numeric</a><span class="token punctuation">.</span><a href="to-s-const.html"><span class="token function">toSConst</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/SConst///PointingToDeclaration/">SConst</span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="to-s-const.html">X</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Maps <a href="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/-numeric/index.html">MST.Numeric</a> to <span data-unresolved-link="ai.hypergraph.kotlingrad.api/SConst///PointingToDeclaration/">SConst</span> directly.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-166397262%2FFunctions%2F-174194497" anchor-label="toSFun" id="-166397262%2FFunctions%2F-174194497" data-filterable-set=":kmath-kotlingrad:dokkaHtmlPartial/main"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-kotlingrad:dokkaHtmlPartial/main" data-filterable-set=":kmath-kotlingrad:dokkaHtmlPartial/main">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="to-s-fun.html"><span>to</span><wbr><span><span>SFun</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-166397262%2FFunctions%2F-174194497"></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="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-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">&lt;</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">&lt;</span><span class="token keyword"></span><a href="to-s-fun.html">X</a><span class="token operator">&gt;</span><span class="token operator">&gt; </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">&lt;</span><span class="token keyword"></span><a href="to-s-fun.html">X</a><span class="token operator">&gt;</span></div><div class="brief "><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></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2023 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>