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

339 lines
47 KiB
HTML

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>space.kscience.kmath.dimensions</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-dimensions::space.kscience.kmath.dimensions////PointingToDeclaration//-1128599328">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">kmath-dimensions</a>/<a href="index.html">space.kscience.kmath.dimensions</a></div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section"><button class="platform-tag platform-selector common-like" data-active="" data-filter=":kmath-dimensions:dokkaHtmlPartial/commonMain">common</button><button class="platform-tag platform-selector js-like" data-active="" data-filter=":kmath-dimensions:dokkaHtmlPartial/jsMain">js</button><button class="platform-tag platform-selector jvm-like" data-active="" data-filter=":kmath-dimensions:dokkaHtmlPartial/jvmMain">jvm</button><button class="platform-tag platform-selector native-like" data-active="" data-filter=":kmath-dimensions:dokkaHtmlPartial/nativeMain">native</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>dimensions</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></div>
<div class="tabs-section-body">
<h2 class="">Types</h2>
<div class="table" data-togglable="Types"><a data-name="-1764430646%2FClasslikes%2F1353985228" anchor-label="D1" id="-1764430646%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-d1/index.html">D1</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1764430646%2FClasslikes%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">object <a href="-d1/index.html">D1</a> : <a href="-dimension/index.html">Dimension</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="-1764430646%2FClasslikes%2F1353985228" anchor-label="D1" id="-1764430646%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1764430646%2FClasslikes%2F1353985228" anchor-label="D1" id="-1764430646%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>Type representing 1 dimension.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-1733410839%2FClasslikes%2F1353985228" anchor-label="D2" id="-1733410839%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-d2/index.html">D2</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1733410839%2FClasslikes%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">object <a href="-d2/index.html">D2</a> : <a href="-dimension/index.html">Dimension</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="-1733410839%2FClasslikes%2F1353985228" anchor-label="D2" id="-1733410839%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1733410839%2FClasslikes%2F1353985228" anchor-label="D2" id="-1733410839%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>Type representing 2 dimensions.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-1702391032%2FClasslikes%2F1353985228" anchor-label="D3" id="-1702391032%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-d3/index.html">D3</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1702391032%2FClasslikes%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">object <a href="-d3/index.html">D3</a> : <a href="-dimension/index.html">Dimension</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="-1702391032%2FClasslikes%2F1353985228" anchor-label="D3" id="-1702391032%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1702391032%2FClasslikes%2F1353985228" anchor-label="D3" id="-1702391032%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>Type representing 3 dimensions.</div></div>
</div>
</div>
</div>
</div>
<a data-name="1602980485%2FClasslikes%2F1353985228" anchor-label="Dimension" id="1602980485%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-dimension/index.html">Dimension</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1602980485%2FClasslikes%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">interface <a href="-dimension/index.html">Dimension</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="1602980485%2FClasslikes%2F1353985228" anchor-label="Dimension" id="1602980485%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1602980485%2FClasslikes%2F1353985228" anchor-label="Dimension" id="1602980485%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>Represents a quantity of dimensions in certain structure.</div></div>
</div>
</div>
</div>
</div>
<a data-name="730697222%2FClasslikes%2F1353985228" anchor-label="DMatrix" id="730697222%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-d-matrix/index.html">DMatrix</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="730697222%2FClasslikes%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">interface <a href="-d-matrix/index.html">DMatrix</a>&lt;<a href="-d-matrix/index.html">T</a>, <a href="-d-matrix/index.html">R</a> : <a href="-dimension/index.html">Dimension</a>, <a href="-d-matrix/index.html">C</a> : <a href="-dimension/index.html">Dimension</a>&gt; : <a href="../../../kmath-core/kmath-core/space.kscience.kmath.nd/-structure2-d/index.html">Structure2D</a>&lt;<a href="-d-matrix/index.html">T</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="730697222%2FClasslikes%2F1353985228" anchor-label="DMatrix" id="730697222%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="730697222%2FClasslikes%2F1353985228" anchor-label="DMatrix" id="730697222%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>A matrix with compile-time controlled dimension</div></div>
</div>
</div>
</div>
</div>
<a data-name="-389294579%2FClasslikes%2F1353985228" anchor-label="DMatrixContext" id="-389294579%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-d-matrix-context/index.html">DMatrixContext</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-389294579%2FClasslikes%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block">@<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-inline/index.html">JvmInline</a>()</div></div>class <a href="-d-matrix-context/index.html">DMatrixContext</a>&lt;<a href="-d-matrix-context/index.html">T</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>, out <a href="-d-matrix-context/index.html">A</a> : <a href="../../../kmath-core/kmath-core/space.kscience.kmath.operations/-ring/index.html">Ring</a>&lt;<a href="-d-matrix-context/index.html">T</a>&gt;&gt;(context: <a href="../../../kmath-core/kmath-core/space.kscience.kmath.linear/-linear-space/index.html">LinearSpace</a>&lt;<a href="-d-matrix-context/index.html">T</a>, <a href="-d-matrix-context/index.html">A</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="-389294579%2FClasslikes%2F1353985228" anchor-label="DMatrixContext" id="-389294579%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-389294579%2FClasslikes%2F1353985228" anchor-label="DMatrixContext" id="-389294579%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>Basic operations on dimension-safe matrices.</div></div>
</div>
</div>
</div>
</div>
<a data-name="831213481%2FClasslikes%2F1353985228" anchor-label="DMatrixWrapper" id="831213481%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-d-matrix-wrapper/index.html">DMatrixWrapper</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="831213481%2FClasslikes%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block">@<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-inline/index.html">JvmInline</a>()</div></div>class <a href="-d-matrix-wrapper/index.html">DMatrixWrapper</a>&lt;<a href="-d-matrix-wrapper/index.html">T</a>, <a href="-d-matrix-wrapper/index.html">R</a> : <a href="-dimension/index.html">Dimension</a>, <a href="-d-matrix-wrapper/index.html">C</a> : <a href="-dimension/index.html">Dimension</a>&gt;(structure: <a href="../../../kmath-core/kmath-core/space.kscience.kmath.nd/-structure2-d/index.html">Structure2D</a>&lt;<a href="-d-matrix-wrapper/index.html">T</a>&gt;) : <a href="-d-matrix/index.html">DMatrix</a>&lt;<a href="-d-matrix-wrapper/index.html">T</a>, <a href="-d-matrix-wrapper/index.html">R</a>, <a href="-d-matrix-wrapper/index.html">C</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="831213481%2FClasslikes%2F1353985228" anchor-label="DMatrixWrapper" id="831213481%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="831213481%2FClasslikes%2F1353985228" anchor-label="DMatrixWrapper" id="831213481%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>An inline wrapper for a Matrix</div></div>
</div>
</div>
</div>
</div>
<a data-name="-1751271573%2FClasslikes%2F1353985228" anchor-label="DPoint" id="-1751271573%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-d-point/index.html">DPoint</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1751271573%2FClasslikes%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">interface <a href="-d-point/index.html">DPoint</a>&lt;<a href="-d-point/index.html">T</a>, <a href="-d-point/index.html">D</a> : <a href="-dimension/index.html">Dimension</a>&gt; : <a href="../../../kmath-core/kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a>&lt;<a href="-d-point/index.html">T</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="-1751271573%2FClasslikes%2F1353985228" anchor-label="DPoint" id="-1751271573%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1751271573%2FClasslikes%2F1353985228" anchor-label="DPoint" id="-1751271573%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>Dimension-safe point</div></div>
</div>
</div>
</div>
</div>
<a data-name="528595620%2FClasslikes%2F1353985228" anchor-label="DPointWrapper" id="528595620%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-d-point-wrapper/index.html">DPointWrapper</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="528595620%2FClasslikes%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block">@<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-inline/index.html">JvmInline</a>()</div></div>class <a href="-d-point-wrapper/index.html">DPointWrapper</a>&lt;<a href="-d-point-wrapper/index.html">T</a>, <a href="-d-point-wrapper/index.html">D</a> : <a href="-dimension/index.html">Dimension</a>&gt;(point: <a href="../../../kmath-core/space.kscience.kmath.linear/-point/index.html">Point</a>&lt;<a href="-d-point-wrapper/index.html">T</a>&gt;) : <a href="-d-point/index.html">DPoint</a>&lt;<a href="-d-point-wrapper/index.html">T</a>, <a href="-d-point-wrapper/index.html">D</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="528595620%2FClasslikes%2F1353985228" anchor-label="DPointWrapper" id="528595620%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="528595620%2FClasslikes%2F1353985228" anchor-label="DPointWrapper" id="528595620%2FClasslikes%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>Dimension-safe point wrapper</div></div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="-880575369%2FFunctions%2F1353985228" anchor-label="dim" id="-880575369%2FFunctions%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="dim.html">dim</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-880575369%2FFunctions%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun &lt;<a href="dim.html">D</a> : <a href="-dimension/index.html">Dimension</a>&gt; <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a>&lt;<a href="dim.html">D</a>&gt;.<a href="dim.html">dim</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html">UInt</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 class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">inline fun &lt;<a href="dim.html">D</a> : <a href="-dimension/index.html">Dimension</a>&gt; <a href="-dimension/-companion/index.html">Dimension.Companion</a>.<a href="dim.html">dim</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html">UInt</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="-259196899%2FFunctions%2F1353985228" anchor-label="dim" id="-259196899%2FFunctions%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-259196899%2FFunctions%2F1353985228" anchor-label="dim" id="-259196899%2FFunctions%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>Finds <a href="-dimension/dim.html">Dimension.dim</a> of given type <a href="dim.html">D</a>.</div></div>
</div>
</div>
</div>
</div>
<a data-name="1398746117%2FFunctions%2F1616320844" anchor-label="of" id="1398746117%2FFunctions%2F1616320844" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain :kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain :kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain :kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="of.html">of</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1398746117%2FFunctions%2F1616320844"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right">
<div class="platform-tags ">
<div class="platform-tag common-like">common</div>
</div>
</span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-dimension/-companion/index.html">Dimension.Companion</a>.<a href="of.html">of</a>(dim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html">UInt</a>): <a href="-dimension/index.html">Dimension</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="1398746117%2FFunctions%2F1616320844" anchor-label="of" id="1398746117%2FFunctions%2F1616320844" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain :kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain"></a><div class="brief "><a data-name="1398746117%2FFunctions%2F1353985228" anchor-label="of" id="1398746117%2FFunctions%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>Finds or creates <a href="-dimension/index.html">Dimension</a> with <a href="-dimension/dim.html">Dimension.dim</a> equal to <a href="of.html">dim</a>.</div></div>
<div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted with-platform-tabs" data-platform-hinted="data-platform-hinted">
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark js-like" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/jsMain" data-active="" data-toggle=":kmath-dimensions:dokkaHtmlPartial/jsMain">js</button><button class="platform-bookmark jvm-like" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/jvmMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/jvmMain" data-toggle=":kmath-dimensions:dokkaHtmlPartial/jvmMain">jvm</button></div>
<div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-dimensions:dokkaHtmlPartial/jsMain"><div class="symbol monospace">fun <a href="-dimension/-companion/index.html#1943700679%2FExtensions%2F-2064071058">Dimension.Companion</a>.<a href="of.html">of</a>(dim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html">UInt</a>): <a href="-dimension/index.html">Dimension</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 class="content sourceset-depenent-content" data-togglable=":kmath-dimensions:dokkaHtmlPartial/jvmMain"><div class="symbol monospace">fun <a href="-dimension/-companion/index.html#1943700679%2FExtensions%2F-941074262">Dimension.Companion</a>.<a href="of.html">of</a>(dim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html">UInt</a>): <a href="-dimension/index.html">Dimension</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="1398746117%2FFunctions%2F1616320844" anchor-label="of" id="1398746117%2FFunctions%2F1616320844" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain :kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain"></a></div>
</div>
</div>
</div>
</div>
<a data-name="-1963183100%2FFunctions%2F1353985228" anchor-label="one" id="-1963183100%2FFunctions%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="one.html">one</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1963183100%2FFunctions%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">inline fun &lt;<a href="one.html">D</a> : <a href="-dimension/index.html">Dimension</a>&gt; <a href="-d-matrix-context/index.html">DMatrixContext</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, <a href="../../../kmath-core/kmath-core/space.kscience.kmath.operations/-double-field/index.html">DoubleField</a>&gt;.<a href="one.html">one</a>(): <a href="-d-matrix/index.html">DMatrix</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, <a href="one.html">D</a>, <a href="one.html">D</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="-1963183100%2FFunctions%2F1353985228" anchor-label="one" id="-1963183100%2FFunctions%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1963183100%2FFunctions%2F1353985228" anchor-label="one" id="-1963183100%2FFunctions%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>A square unit matrix</div></div>
</div>
</div>
</div>
</div>
<a data-name="-505661211%2FFunctions%2F-1128599328" anchor-label="resolve" id="-505661211%2FFunctions%2F-1128599328" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain :kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain :kmath-dimensions:dokkaHtmlPartial/nativeMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain :kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain :kmath-dimensions:dokkaHtmlPartial/nativeMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain :kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain :kmath-dimensions:dokkaHtmlPartial/nativeMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="resolve.html">resolve</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-505661211%2FFunctions%2F-1128599328"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain :kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain :kmath-dimensions:dokkaHtmlPartial/nativeMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain :kmath-dimensions:dokkaHtmlPartial/jsMain :kmath-dimensions:dokkaHtmlPartial/jvmMain :kmath-dimensions:dokkaHtmlPartial/nativeMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted with-platform-tabs" data-platform-hinted="data-platform-hinted">
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark common-like" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-active="" data-toggle=":kmath-dimensions:dokkaHtmlPartial/commonMain">common</button><button class="platform-bookmark js-like" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/jsMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/jsMain" data-toggle=":kmath-dimensions:dokkaHtmlPartial/jsMain">js</button><button class="platform-bookmark jvm-like" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/jvmMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/jvmMain" data-toggle=":kmath-dimensions:dokkaHtmlPartial/jvmMain">jvm</button><button class="platform-bookmark native-like" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/nativeMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/nativeMain" data-toggle=":kmath-dimensions:dokkaHtmlPartial/nativeMain">native</button></div>
<div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun &lt;<a href="resolve.html">D</a> : <a href="-dimension/index.html">Dimension</a>&gt; <a href="-dimension/-companion/index.html">Dimension.Companion</a>.<a href="resolve.html">resolve</a>(type: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a>&lt;<a href="resolve.html">D</a>&gt;): <a href="resolve.html">D</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 class="content sourceset-depenent-content" data-togglable=":kmath-dimensions:dokkaHtmlPartial/jsMain"><div class="symbol monospace">fun &lt;<a href="resolve.html">D</a> : <a href="-dimension/index.html">Dimension</a>&gt; <a href="-dimension/-companion/index.html#1943700679%2FExtensions%2F-2064071058">Dimension.Companion</a>.<a href="resolve.html">resolve</a>(type: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a>&lt;<a href="resolve.html">D</a>&gt;): <a href="resolve.html">D</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 class="content sourceset-depenent-content" data-togglable=":kmath-dimensions:dokkaHtmlPartial/jvmMain"><div class="symbol monospace">fun &lt;<a href="resolve.html">D</a> : <a href="-dimension/index.html">Dimension</a>&gt; <a href="-dimension/-companion/index.html#1943700679%2FExtensions%2F-941074262">Dimension.Companion</a>.<a href="resolve.html">resolve</a>(type: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a>&lt;<a href="resolve.html">D</a>&gt;): <a href="resolve.html">D</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 class="content sourceset-depenent-content" data-togglable=":kmath-dimensions:dokkaHtmlPartial/nativeMain"><div class="symbol monospace">fun &lt;<a href="resolve.html">D</a> : <a href="-dimension/index.html">Dimension</a>&gt; <a href="-dimension/-companion/index.html#1943700679%2FExtensions%2F-613170016">Dimension.Companion</a>.<a href="resolve.html">resolve</a>(type: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a>&lt;<a href="resolve.html">D</a>&gt;): <a href="resolve.html">D</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div> </div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="-1070174448%2FFunctions%2F1353985228" anchor-label="zero" id="-1070174448%2FFunctions%2F1353985228" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="zero.html">zero</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1070174448%2FFunctions%2F1353985228"></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 common-like">common</div>
</div>
<div class="title"><div class="divergent-group" data-filterable-current=":kmath-dimensions:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-dimensions:dokkaHtmlPartial/commonMain"><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-dimensions:dokkaHtmlPartial/commonMain"><div class="symbol monospace">inline fun &lt;<a href="zero.html">R</a> : <a href="-dimension/index.html">Dimension</a>, <a href="zero.html">C</a> : <a href="-dimension/index.html">Dimension</a>&gt; <a href="-d-matrix-context/index.html">DMatrixContext</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, <a href="../../../kmath-core/kmath-core/space.kscience.kmath.operations/-double-field/index.html">DoubleField</a>&gt;.<a href="zero.html">zero</a>(): <a href="-d-matrix/index.html">DMatrix</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, <a href="zero.html">R</a>, <a href="zero.html">C</a>&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</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>