<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace">interface <ahref="index.html">AlgebraND</a><<ahref="index.html">T</a>, out <ahref="index.html">C</a> : <ahref="../../space.kscience.kmath.operations/-algebra/index.html">Algebra</a><<ahref="index.html">T</a>>><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><pclass="paragraph">The base interface for all ND-algebra implementations.</p></div></div>
<divclass="platform-hinted WithExtraAttributes"data-platform-hinted="data-platform-hinted"data-togglable="Parameters"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex">T</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the type of ND-structure element.</p></div></div></div></div></div><divclass="table-row"data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex">C</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the type of the element context.</p></div></div></div></div></div></div></div></div></div>
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace">abstract fun <ahref="combine.html">combine</a>(a: <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>>, b: <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>>, transform: <ahref="index.html">C</a>.(<ahref="index.html">T</a>, <ahref="index.html">T</a>) -><ahref="index.html">T</a>): <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<adata-name="-297535470%2FFunctions%2F244675578"anchor-label="combine"id="-297535470%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="-297535470%2FFunctions%2F244675578"anchor-label="combine"id="-297535470%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Combines two structures into one.</div></div>
<adata-name="-1268560995%2FFunctions%2F244675578"anchor-label="getFeature"id="-1268560995%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="-1268560995%2FFunctions%2F244675578"anchor-label="getFeature"id="-1268560995%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Get a feature of the structure in this scope.</div></div>
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace">open operator fun (<ahref="index.html">T</a>) -><ahref="index.html">T</a>.<ahref="invoke.html">invoke</a>(structure: <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>>): <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<adata-name="-860604850%2FFunctions%2F244675578"anchor-label="invoke"id="-860604850%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="-860604850%2FFunctions%2F244675578"anchor-label="invoke"id="-860604850%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Element-wise invocation of function working on <ahref="index.html">T</a> on a <ahref="../-structure-n-d/index.html">StructureND</a>.</div></div>
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace">abstract fun <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>>.<ahref="map.html">map</a>(transform: <ahref="index.html">C</a>.(<ahref="index.html">T</a>) -><ahref="index.html">T</a>): <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<adata-name="1121778553%2FFunctions%2F244675578"anchor-label="map"id="1121778553%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="1121778553%2FFunctions%2F244675578"anchor-label="map"id="1121778553%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Maps elements from one structure to another one by applying <ahref="map.html">transform</a> to them.</div></div>
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace">abstract fun <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>>.<ahref="map-indexed.html">mapIndexed</a>(transform: <ahref="index.html">C</a>.(index: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html">IntArray</a>, <ahref="index.html">T</a>) -><ahref="index.html">T</a>): <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<adata-name="-1295750394%2FFunctions%2F244675578"anchor-label="mapIndexed"id="-1295750394%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="-1295750394%2FFunctions%2F244675578"anchor-label="mapIndexed"id="-1295750394%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Maps elements from one structure to another one by applying <ahref="map-indexed.html">transform</a> to them alongside with their indices.</div></div>
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace">abstract fun <ahref="produce.html">produce</a>(initializer: <ahref="index.html">C</a>.(<ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html">IntArray</a>) -><ahref="index.html">T</a>): <ahref="../-structure-n-d/index.html">StructureND</a><<ahref="index.html">T</a>><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<adata-name="676132269%2FFunctions%2F244675578"anchor-label="produce"id="676132269%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="676132269%2FFunctions%2F244675578"anchor-label="produce"id="676132269%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Produces a new NDStructure using given initializer function.</div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="platform-tags ">
<divclass="platform-tag common-like">common</div>
</div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"data-togglable="Properties"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><adata-name="-2098627256%2FProperties%2F244675578"anchor-label="elementContext"id="-2098627256%2FProperties%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="symbol monospace">abstract val <ahref="element-context.html">elementContext</a>: <ahref="index.html">C</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><adata-name="-2098627256%2FProperties%2F244675578"anchor-label="elementContext"id="-2098627256%2FProperties%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>The algebra over elements of ND structure.</div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="platform-tags ">
<divclass="platform-tag common-like">common</div>
</div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"data-togglable="Properties"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><adata-name="703730750%2FProperties%2F244675578"anchor-label="shape"id="703730750%2FProperties%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="symbol monospace">abstract val <ahref="shape.html">shape</a>: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html">IntArray</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="brief "><adata-name="703730750%2FProperties%2F244675578"anchor-label="shape"id="703730750%2FProperties%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>The shape of ND-structures this algebra operates on.</div></div></div>
<adata-name="1347513050%2FExtensions%2F244675578"anchor-label="contentEquals"id="1347513050%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="1347513050%2FExtensions%2F244675578"anchor-label="contentEquals"id="1347513050%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Indicates whether some <ahref="../-structure-n-d/index.html">StructureND</a> is equal to another one.</div></div>
<adata-name="-925381634%2FExtensions%2F244675578"anchor-label="getFeature"id="-925381634%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="-925381634%2FExtensions%2F244675578"anchor-label="getFeature"id="-925381634%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Get a feature of the structure in this scope.</div></div>