2021-05-08 18:18:11 +03:00
< html >
< head >
< meta name = "viewport" content = "width=device-width, initial-scale=1" charset = "UTF-8" >
< title > MutableStructureND< / title >
2022-04-12 11:30:54 +03:00
< / 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 > c o n s t s t o r a g e = l o c a l S t o r a g e . g e t I t e m ( " d o k k a - d a r k - m o d e " )
const savedDarkMode = storage ? JSON.parse(storage) : false
if(savedDarkMode === true){
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}< / script >
2021-05-08 18:18:11 +03:00
2022-04-12 11:30:54 +03:00
< 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" >
< div class = "filter-section" id = "filter-section" > < button class = "platform-tag platform-selector common-like" data-active = "" data-filter = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< button id = "theme-toggle-button" > < span id = "theme-toggle" > < / span > < / button >
< div id = "searchBar" > < / div >
< / div >
< / div >
2021-05-08 18:18:11 +03:00
< div id = "container" >
2022-04-12 11:30:54 +03:00
< div id = "leftColumn" >
2021-05-08 18:18:11 +03:00
< div id = "sideMenu" > < / div >
< / div >
< div id = "main" >
< div class = "main-content" id = "content" pageids = "kmath-core::space.kscience.kmath.nd/MutableStructureND///PointingToDeclaration//244675578" >
2022-04-12 11:30:54 +03:00
< div class = "breadcrumbs" > < a href = "../../index.html" > kmath-core< / a > /< a href = "../index.html" > space.kscience.kmath.nd< / a > /< a href = "index.html" > MutableStructureND< / a > < / div >
2021-05-08 18:18:11 +03:00
< div class = "cover " >
2022-04-12 11:30:54 +03:00
< h1 class = "cover" > < span > Mutable< / span > < wbr > < span > Structure< / span > < wbr > < span > < span > ND< / span > < / span > < / h1 >
< 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-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > interface < / span > < a href = "index.html" > MutableStructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "index.html" > T< / a > < span class = "token operator" > > < / span > : < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "index.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 > < p class = "paragraph" > Represents mutable < a href = "../-structure-n-d/index.html" > StructureND< / a > .< / p > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< div class = "tabbedcontent" >
2021-10-13 15:08:46 +03:00
< div class = "tabs-section" tabs-section = "tabs-section" > < button class = "section-tab" data-active = "" data-togglable = "Functions" > Functions< / button > < button class = "section-tab" data-togglable = "Properties" > Properties< / button > < button class = "section-tab" data-togglable = "Extensions" > Extensions< / button > < button class = "section-tab" data-togglable = "Sources" > Sources< / button > < button class = "section-tab" data-togglable = "Inheritors" > Inheritors< / button > < / div >
2021-05-08 18:18:11 +03:00
< div class = "tabs-section-body" >
< h2 class = "" > Functions< / h2 >
< div class = "table" data-togglable = "Functions" > < a data-name = "1283934063%2FFunctions%2F244675578" anchor-label = "elements" id = "1283934063%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-structure-n-d/elements.html" > < span > < span > elements< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1283934063%2FFunctions%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2022-04-12 11:30:54 +03:00
< div class = "title" >
< 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-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation" > @< / span > < a href = "../../space.kscience.kmath.misc/-performance-pitfall/index.html" > < span class = "token annotation" > PerformancePitfall< / span > < / a > < / div > < / div > < span class = "token keyword" > open < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/elements.html" > < span class = "token function" > elements< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html" > Sequence< / a > < span class = "token operator" > < < / 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" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "index.html" > T< / a > < span class = "token operator" > > < / span > < 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 = "brief " > < p class = "paragraph" > Returns the sequence of all the elements associated by their indices.< / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< a data-name = "-356365875%2FFunctions%2F244675578" anchor-label = "get" id = "-356365875%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-structure-n-d/get.html" > < span > < span > get< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-356365875%2FFunctions%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2022-04-12 11:30:54 +03:00
< div class = "title" >
< 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-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > abstract < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/get.html" > < span class = "token function" > get< / span > < / a > < span class = "token punctuation" > (< / span > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "index.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 = "brief " > < p class = "paragraph" > Returns the value at the specified indices.< / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< a data-name = "2024771126%2FFunctions%2F244675578" anchor-label = "getFeature" id = "2024771126%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-structure-n-d/get-feature.html" > < span > get< / span > < wbr > < span > < span > Feature< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "2024771126%2FFunctions%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2022-04-12 11:30:54 +03:00
< div class = "title" >
< 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-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > override < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../-structure-n-d/get-feature.html" > F< / a > < span class = "token operator" > : < / span > < a href = "../-structure-feature/index.html" > StructureFeature< / a > < span class = "token operator" > > < / span > < a href = "../-structure-n-d/get-feature.html" > < span class = "token function" > getFeature< / span > < / a > < span class = "token punctuation" > (< / span > type< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html" > KClass< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > out < / span > < a href = "../-structure-n-d/get-feature.html" > F< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-structure-n-d/get-feature.html" > F< / 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 = "brief " > < p class = "paragraph" > Feature is some additional structure information that allows to access it special properties or hints. If the feature is not present, < code class = "lang-kotlin" > null< / code > is returned.< / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< a data-name = "1459945780%2FFunctions%2F244675578" anchor-label = "set" id = "1459945780%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "set.html" > < span > < span > set< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1459945780%2FFunctions%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2022-04-12 11:30:54 +03:00
< div class = "title" >
< 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-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > abstract < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "set.html" > < span class = "token function" > set< / span > < / a > < span class = "token punctuation" > (< / span > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < span class = "token punctuation" > , < / span > value< span class = "token operator" > : < / span > < a href = "index.html" > T< / a > < span class = "token punctuation" > )< / 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" > Inserts an item at the specified indices.< / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< / div >
< h2 class = "" > Properties< / h2 >
2022-04-12 11:30:54 +03:00
< div class = "table" data-togglable = "Properties" > < a data-name = "309648750%2FProperties%2F244675578" anchor-label = "dimension" id = "309648750%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
2021-05-08 18:18:11 +03:00
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-structure-n-d/dimension.html" > dimension< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "309648750%2FProperties%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< 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" >
2022-04-12 11:30:54 +03:00
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark common-like" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < a data-name = "309648750%2FProperties%2F244675578" anchor-label = "dimension" id = "309648750%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "../-structure-n-d/dimension.html" > dimension< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / 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 = "brief " > < a data-name = "309648750%2FProperties%2F244675578" anchor-label = "dimension" id = "309648750%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a > < p class = "paragraph" > The count of dimensions in this structure. It should be equal to size of < a href = "../-structure-n-d/shape.html" > shape< / a > .< / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
2022-04-12 11:30:54 +03:00
< a data-name = "-11447685%2FProperties%2F244675578" anchor-label = "indices" id = "-11447685%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
2021-05-08 18:18:11 +03:00
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-with-shape/indices.html" > indices< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-11447685%2FProperties%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2022-04-12 11:30:54 +03:00
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark common-like" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < a data-name = "-11447685%2FProperties%2F244675578" anchor-label = "indices" id = "-11447685%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "../-with-shape/indices.html" > indices< / a > < span class = "token operator" > : < / span > < a href = "../-shape-indexer/index.html" > ShapeIndexer< / 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 >
2021-05-08 18:18:11 +03:00
< / div >
2022-04-12 11:30:54 +03:00
< / div >
< / div >
< / div >
< a data-name = "465250067%2FProperties%2F244675578" anchor-label = "shape" id = "465250067%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-structure-n-d/shape.html" > shape< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "465250067%2FProperties%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2021-05-08 18:18:11 +03:00
< div class = "title" >
2022-04-12 11:30:54 +03:00
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark common-like" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < a data-name = "465250067%2FProperties%2F244675578" anchor-label = "shape" id = "465250067%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > abstract < / span > < span class = "token keyword" > override < / span > < span class = "token keyword" > val < / span > < a href = "../-structure-n-d/shape.html" > shape< / a > < span class = "token operator" > : < / span > < a href = "../index.html#1912875681%2FClasslikes%2F244675578" > Shape< / 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 = "brief " > < a data-name = "465250067%2FProperties%2F244675578" anchor-label = "shape" id = "465250067%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a > < p class = "paragraph" > The shape of structure i.e., non-empty sequence of non-negative integers that specify sizes of dimensions of this structure.< / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< / div >
< h2 class = "" > Inheritors< / h2 >
< div class = "table" data-togglable = "Inheritors" > < a data-name = "-1762029018%2FInheritors%2F244675578" anchor-label = "MutableBufferND" id = "-1762029018%2FInheritors%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-mutable-buffer-n-d/index.html" > MutableBufferND< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1762029018%2FInheritors%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div > < / div >
< / div >
< / div >
< a data-name = "1091060992%2FInheritors%2F244675578" anchor-label = "MutableStructure1D" id = "1091060992%2FInheritors%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-mutable-structure1-d/index.html" > MutableStructure1D< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1091060992%2FInheritors%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div > < / div >
< / div >
< / div >
< a data-name = "2052675009%2FInheritors%2F244675578" anchor-label = "MutableStructure2D" id = "2052675009%2FInheritors%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-mutable-structure2-d/index.html" > MutableStructure2D< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "2052675009%2FInheritors%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div > < / div >
< / div >
< / div >
< / div >
< h2 class = "tabbedcontent" > Extensions< / h2 >
< div class = "table" data-togglable = "Extensions" > < a data-name = "-51199517%2FExtensions%2F244675578" anchor-label = "as1D" id = "-51199517%2FExtensions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../as1-d.html" > < span > < span > as1D< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-51199517%2FExtensions%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2022-04-12 11:30:54 +03:00
< div class = "title" >
< 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-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../as1-d.html" > T< / a > < span class = "token operator" > > < / span > < a href = "index.html" > MutableStructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../as1-d.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../as1-d.html" > < span class = "token function" > as1D< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-mutable-structure1-d/index.html" > MutableStructure1D< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../as1-d.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 > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< a data-name = "-984553854%2FExtensions%2F244675578" anchor-label = "as2D" id = "-984553854%2FExtensions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../as2-d.html" > < span > < span > as2D< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-984553854%2FExtensions%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2022-04-12 11:30:54 +03:00
< div class = "title" >
< 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-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../as2-d.html" > T< / a > < span class = "token operator" > > < / span > < a href = "index.html" > MutableStructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../as2-d.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../as2-d.html" > < span class = "token function" > as2D< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-mutable-structure2-d/index.html" > MutableStructure2D< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../as2-d.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 = "brief " > < p class = "paragraph" > Represents a < a href = "../-structure-n-d/index.html" > StructureND< / a > as < a href = "../-structure2-d/index.html" > Structure2D< / a > . Throws runtime error in case of dimension mismatch.< / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< a data-name = "-437018438%2FExtensions%2F244675578" anchor-label = "mapInPlace" id = "-437018438%2FExtensions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../map-in-place.html" > < span > map< / span > < wbr > < span > In< / span > < wbr > < span > < span > Place< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-437018438%2FExtensions%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2022-04-12 11:30:54 +03:00
< div class = "title" >
< 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-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../map-in-place.html" > T< / a > < span class = "token operator" > > < / span > < a href = "index.html" > MutableStructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../map-in-place.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../map-in-place.html" > < span class = "token function" > mapInPlace< / span > < / a > < span class = "token punctuation" > (< / span > action< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../map-in-place.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../map-in-place.html" > T< / a > < span class = "token punctuation" > )< / 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" > Transform a structure element-by element in place.< / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< a data-name = "-501784698%2FExtensions%2F244675578" anchor-label = "mapToMutableBuffer" id = "-501784698%2FExtensions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../map-to-mutable-buffer.html" > < span > map< / span > < wbr > < span > To< / span > < wbr > < span > Mutable< / span > < wbr > < span > < span > Buffer< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-501784698%2FExtensions%2F244675578" > < / span >
2021-05-08 18:18:11 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
2022-04-12 11:30:54 +03:00
< div class = "title" >
< 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-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" data-active = "" data-toggle = ":kmath-core:dokkaHtmlPartial/commonMain" > common< / button > < / div >
< div class = "content sourceset-depenent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../map-to-mutable-buffer.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../map-to-mutable-buffer.html" > R< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html" > Any< / a > < span class = "token operator" > > < / span > < a href = "index.html" > MutableStructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../map-to-mutable-buffer.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../map-to-mutable-buffer.html" > < span class = "token function" > mapToMutableBuffer< / span > < / a > < span class = "token punctuation" > (< / span > factory< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/index.html#-1193260890%2FClasslikes%2F244675578" > MutableBufferFactory< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../map-to-mutable-buffer.html" > R< / a > < span class = "token operator" > > < / span > < span class = "token operator" > = < / span > MutableBuffer.Companion::auto< span class = "token punctuation" > , < / span > < span class = "token keyword" > crossinline < / span > transform< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../map-to-mutable-buffer.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../map-to-mutable-buffer.html" > R< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-mutable-buffer-n-d/index.html" > MutableBufferND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../map-to-mutable-buffer.html" > R< / 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 = "brief " > < p class = "paragraph" > Transform structure to a new structure using provided < a href = "../../space.kscience.kmath.structures/index.html#-1193260890%2FClasslikes%2F244675578" > MutableBufferFactory< / a > and optimizing if argument is < a href = "../-mutable-buffer-n-d/index.html" > MutableBufferND< / a > < / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< / div >
2021-10-13 15:08:46 +03:00
< h2 class = "" > Sources< / h2 >
2021-10-18 13:21:06 +03:00
< div class = "table" data-togglable = "Sources" > < a data-name = "-1086903587%2FSource%2F244675578" anchor-label = "https://github.com/mipt-npm/kmath/tree/master/kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/StructureND.kt#L216" id = "-1086903587%2FSource%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
2021-10-13 15:08:46 +03:00
< div class = "table-row" data-filterable-current = ":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" >
< div class = "main-subrow keyValue " >
2022-04-12 11:30:54 +03:00
< div class = "" > < span class = "inline-flex" >
< div > < a href = "https://github.com/mipt-npm/kmath/tree/master/kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/StructureND.kt#L216" > common source< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1086903587%2FSource%2F244675578" > < / span >
2021-10-13 15:08:46 +03:00
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div > < / div >
< / div >
< / div >
< / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
2022-04-12 11:30:54 +03:00
< 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 >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / body > < / html >