<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">StructureND</a><out <ahref="index.html">T</a>> : <ahref="../../space.kscience.kmath.misc/-featured/index.html">Featured</a><<ahref="../-structure-feature/index.html">StructureFeature</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">Represents n-dimensional structure i.e., multidimensional container of items of the same type and size. The number of dimensions and items in an array is defined by its shape, which is a sequence of non-negative integers that specify the sizes of each dimension.</p><pclass="paragraph">StructureND is in general identity-free. <ahref="-companion/content-equals.html">StructureND.contentEquals</a> should be used in tests to compare contents.</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 items.</p></div></div></div></div></div></div></div></div></div>
<adata-name="1283934063%2FFunctions%2F244675578"anchor-label="elements"id="1283934063%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="1283934063%2FFunctions%2F244675578"anchor-label="elements"id="1283934063%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Returns the sequence of all the elements associated by 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 operator fun <ahref="get.html">get</a>(index: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html">IntArray</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="-356365875%2FFunctions%2F244675578"anchor-label="get"id="-356365875%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="-356365875%2FFunctions%2F244675578"anchor-label="get"id="-356365875%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Returns the value at the specified indices.</div></div>
<adata-name="2024771126%2FFunctions%2F244675578"anchor-label="getFeature"id="2024771126%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="2024771126%2FFunctions%2F244675578"anchor-label="getFeature"id="2024771126%2FFunctions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Feature is some additional structure information that allows to access it special properties or hints.</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="309648750%2FProperties%2F244675578"anchor-label="dimension"id="309648750%2FProperties%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="symbol monospace">open val <ahref="dimension.html">dimension</a>: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</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="309648750%2FProperties%2F244675578"anchor-label="dimension"id="309648750%2FProperties%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>The count of dimensions in this structure.</div></div></div>
<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="465250067%2FProperties%2F244675578"anchor-label="shape"id="465250067%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="465250067%2FProperties%2F244675578"anchor-label="shape"id="465250067%2FProperties%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>The shape of structure i.e., non-empty sequence of non-negative integers that specify sizes of dimensions of this structure.</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">fun <<ahref="../as1-d.html">T</a>><ahref="index.html">StructureND</a><<ahref="../as1-d.html">T</a>>.<ahref="../as1-d.html">as1D</a>(): <ahref="../-structure1-d/index.html">Structure1D</a><<ahref="../as1-d.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="-1580274091%2FExtensions%2F244675578"anchor-label="as1D"id="-1580274091%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="-1580274091%2FExtensions%2F244675578"anchor-label="as1D"id="-1580274091%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Represent a <ahref="index.html">StructureND</a> as <ahref="../-structure1-d/index.html">Structure1D</a>.</div></div>
<adata-name="-904581482%2FExtensions%2F244675578"anchor-label="as2D"id="-904581482%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="-904581482%2FExtensions%2F244675578"anchor-label="as2D"id="-904581482%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Represents a <ahref="index.html">StructureND</a> as <ahref="../-structure2-d/index.html">Structure2D</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">operator fun <<ahref="../get.html">T</a>><ahref="index.html">StructureND</a><<ahref="../get.html">T</a>>.<ahref="../get.html">get</a>(vararg index: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>): <ahref="../get.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="113771019%2FExtensions%2F244675578"anchor-label="get"id="113771019%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="113771019%2FExtensions%2F244675578"anchor-label="get"id="113771019%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Returns the value at the specified indices.</div></div>
<adata-name="-899900936%2FExtensions%2F244675578"anchor-label="mapToBuffer"id="-899900936%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a><divclass="brief "><adata-name="-899900936%2FExtensions%2F244675578"anchor-label="mapToBuffer"id="-899900936%2FExtensions%2F244675578"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>Transform structure to a new structure using provided <ahref="../../space.kscience.kmath.structures/index.html#1576985038%2FClasslikes%2F244675578">BufferFactory</a> and optimizing if argument is <ahref="../-buffer-n-d/index.html">BufferND</a></div></div>