kmath/kmath-functions/space.kscience.kmath.interpolation/index.html

185 lines
44 KiB
HTML

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>space.kscience.kmath.interpolation</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/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>
<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>
<div id="container">
<div id="leftColumn">
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" id="content" pageids="kmath-functions::space.kscience.kmath.interpolation////PointingToDeclaration//-597741372">
<div class="breadcrumbs"><a href="../index.html">kmath-functions</a>/<a href="index.html">space.kscience.kmath.interpolation</a></div>
<div class="cover ">
<h1 class="cover"><span><span>Package</span></span> <span>space.</span><wbr><span>kscience.</span><wbr><span>kmath.</span><wbr><span><span>interpolation</span></span></h1>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Properties">Properties</button></div>
<div class="tabs-section-body">
<h2 class="">Types</h2>
<div class="table" data-togglable="Types"><a data-name="-391469481%2FClasslikes%2F-597741372" anchor-label="Interpolator" id="-391469481%2FClasslikes%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-interpolator/index.html"><span><span>Interpolator</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-391469481%2FClasslikes%2F-597741372"></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-depenent-content" data-active="" data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">fun </span><span class="token keyword">interface </span><a href="-interpolator/index.html">Interpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-interpolator/index.html">T</a><span class="token punctuation">, </span><span class="token keyword">in </span><a href="-interpolator/index.html">X</a><span class="token operator"> : </span><a href="-interpolator/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-interpolator/index.html">Y</a><span class="token operator"> : </span><a href="-interpolator/index.html">T</a><span class="token operator">&gt;</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><div class="brief "><p class="paragraph">And interpolator for data with x column type <a href="-interpolator/index.html">X</a>, y column type <a href="-interpolator/index.html">Y</a>.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1902089102%2FClasslikes%2F-597741372" anchor-label="LinearInterpolator" id="-1902089102%2FClasslikes%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-linear-interpolator/index.html"><span>Linear</span><wbr><span><span>Interpolator</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1902089102%2FClasslikes%2F-597741372"></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-depenent-content" data-active="" data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="-linear-interpolator/index.html">LinearInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-linear-interpolator/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-linear-interpolator/index.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">(</span>algebra<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.operations/-field/index.html">Field</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-linear-interpolator/index.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">)</span> : <a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-linear-interpolator/index.html">T</a><span class="token operator">&gt; </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><div class="brief "><p class="paragraph">Reference JVM implementation: https://github.com/apache/commons-math/blob/master/src/main/java/org/apache/commons/math4/analysis/interpolation/LinearInterpolator.java</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="30934947%2FClasslikes%2F-597741372" anchor-label="PolynomialInterpolator" id="30934947%2FClasslikes%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-polynomial-interpolator/index.html"><span>Polynomial</span><wbr><span><span>Interpolator</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="30934947%2FClasslikes%2F-597741372"></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-depenent-content" data-active="" data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-polynomial-interpolator/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-polynomial-interpolator/index.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span> : <a href="-interpolator/index.html">Interpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-polynomial-interpolator/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-polynomial-interpolator/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-polynomial-interpolator/index.html">T</a><span class="token operator">&gt; </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><div class="brief "><p class="paragraph">And interpolator returning <a href="../space.kscience.kmath.functions/-piecewise-polynomial/index.html">PiecewisePolynomial</a> function</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1908347066%2FClasslikes%2F-597741372" anchor-label="SplineInterpolator" id="-1908347066%2FClasslikes%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-spline-interpolator/index.html"><span>Spline</span><wbr><span><span>Interpolator</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1908347066%2FClasslikes%2F-597741372"></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-depenent-content" data-active="" data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="-spline-interpolator/index.html">SplineInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-spline-interpolator/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-spline-interpolator/index.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">(</span>algebra<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.operations/-field/index.html">Field</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-spline-interpolator/index.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span>bufferFactory<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.structures/-mutable-buffer-factory/index.html">MutableBufferFactory</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-spline-interpolator/index.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">)</span> : <a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-spline-interpolator/index.html">T</a><span class="token operator">&gt; </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><div class="brief "><p class="paragraph">Generic spline interpolator. Not recommended for performance critical places, use platform-specific and type specific ones.</p></div></div></div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="65977292%2FFunctions%2F-597741372" anchor-label="interpolate" id="65977292%2FFunctions%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="interpolate.html"><span><span>interpolate</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="65977292%2FFunctions%2F-597741372"></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-depenent-content" data-active="" data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><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="interpolate.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="interpolate.html"><span class="token function">interpolate</span></a><span class="token punctuation">(</span>data<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">)</span><span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="interpolate.html">T</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><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="interpolate.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="interpolate.html"><span class="token function">interpolate</span></a><span class="token punctuation">(</span>data<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">)</span><span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="interpolate.html">T</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><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="interpolate.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="interpolate.html"><span class="token function">interpolate</span></a><span class="token punctuation">(</span>data<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">, </span>defaultValue<span class="token operator">: </span><a href="interpolate.html">T</a><span class="token punctuation">)</span><span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="interpolate.html">T</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 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="interpolate.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="interpolate.html"><span class="token function">interpolate</span></a><span class="token punctuation">(</span>data<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span>defaultValue<span class="token operator">: </span><a href="interpolate.html">T</a><span class="token punctuation">)</span><span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="interpolate.html">T</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 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="interpolate.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="interpolate.html"><span class="token function">interpolate</span></a><span class="token punctuation">(</span>x<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span>y<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">)</span><span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="interpolate.html">T</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><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="interpolate.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="interpolate.html"><span class="token function">interpolate</span></a><span class="token punctuation">(</span>x<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span>y<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span>defaultValue<span class="token operator">: </span><a href="interpolate.html">T</a><span class="token punctuation">)</span><span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="interpolate.html">T</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="interpolate.html">T</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>
<a data-name="-1670666189%2FFunctions%2F-597741372" anchor-label="interpolatePolynomials" id="-1670666189%2FFunctions%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="interpolate-polynomials.html"><span>interpolate</span><wbr><span><span>Polynomials</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1670666189%2FFunctions%2F-597741372"></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-depenent-content" data-active="" data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><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="interpolate-polynomials.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="interpolate-polynomials.html"><span class="token function">interpolatePolynomials</span></a><span class="token punctuation">(</span>data<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../space.kscience.kmath.functions/-piecewise-polynomial/index.html">PiecewisePolynomial</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</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><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="interpolate-polynomials.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="interpolate-polynomials.html"><span class="token function">interpolatePolynomials</span></a><span class="token punctuation">(</span>data<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../space.kscience.kmath.functions/-piecewise-polynomial/index.html">PiecewisePolynomial</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</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><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="interpolate-polynomials.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-polynomial-interpolator/index.html">PolynomialInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="interpolate-polynomials.html"><span class="token function">interpolatePolynomials</span></a><span class="token punctuation">(</span>x<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span>y<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../space.kscience.kmath.functions/-piecewise-polynomial/index.html">PiecewisePolynomial</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="interpolate-polynomials.html">T</a><span class="token operator">&gt;</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></div></div>
</div>
</div>
</div>
</div>
<a data-name="1747498879%2FFunctions%2F-597741372" anchor-label="splineInterpolator" id="1747498879%2FFunctions%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="spline-interpolator.html"><span>spline</span><wbr><span><span>Interpolator</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1747498879%2FFunctions%2F-597741372"></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-depenent-content" data-active="" data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><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="spline-interpolator.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="spline-interpolator.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="../../kmath-core/space.kscience.kmath.operations/-field/index.html">Field</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="spline-interpolator.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="spline-interpolator.html"><span class="token function">splineInterpolator</span></a><span class="token punctuation">(</span>bufferFactory<span class="token operator">: </span><a href="../../kmath-core/space.kscience.kmath.structures/-mutable-buffer-factory/index.html">MutableBufferFactory</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="spline-interpolator.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-spline-interpolator/index.html">SplineInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="spline-interpolator.html">T</a><span class="token operator">&gt;</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></div></div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Properties</h2>
<div class="table" data-togglable="Properties"><a data-name="249247010%2FProperties%2F-597741372" anchor-label="linearInterpolator" id="249247010%2FProperties%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="linear-interpolator.html">linearInterpolator</a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="249247010%2FProperties%2F-597741372"></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" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><a data-name="249247010%2FProperties%2F-597741372" anchor-label="linearInterpolator" id="249247010%2FProperties%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="linear-interpolator.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="linear-interpolator.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="../../kmath-core/space.kscience.kmath.operations/-field/index.html">Field</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="linear-interpolator.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="linear-interpolator.html">linearInterpolator</a><span class="token operator">: </span><a href="-linear-interpolator/index.html">LinearInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="linear-interpolator.html">T</a><span class="token operator">&gt;</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></div></div>
</div>
</div>
</div>
</div>
<a data-name="864467778%2FProperties%2F-597741372" anchor-label="splineInterpolator" id="864467778%2FProperties%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="spline-interpolator.html">splineInterpolator</a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="864467778%2FProperties%2F-597741372"></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" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><a data-name="864467778%2FProperties%2F-597741372" anchor-label="splineInterpolator" id="864467778%2FProperties%2F-597741372" data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"></a><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="../../kmath-core/space.kscience.kmath.operations/-double-field/index.html">DoubleField</a><span class="token punctuation">.</span><a href="spline-interpolator.html">splineInterpolator</a><span class="token operator">: </span><a href="-spline-interpolator/index.html">SplineInterpolator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator">&gt;</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></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>© 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>
</div>
</div>
</body></html>