2021-05-08 18:18:11 +03:00
< html >
< head >
< meta name = "viewport" content = "width=device-width, initial-scale=1" charset = "UTF-8" >
< title > MutableStructure1D< / 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/MutableStructure1D///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" > MutableStructure1D< / 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 > < span > Structure1D< / 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" > MutableStructure1D< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "index.html" > T< / a > < span class = "token operator" > > < / span > : < a href = "../-structure1-d/index.html" > Structure1D< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "index.html" > T< / a > < span class = "token operator" > > < / span > , < a href = "../-mutable-structure-n-d/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 = "../../space.kscience.kmath.structures/-mutable-buffer/index.html" > MutableBuffer< / 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" > A mutable structure that is guaranteed to be one-dimensional< / 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 = "Sources" > Sources< / 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 = "-754675720%2FFunctions%2F244675578" anchor-label = "copy" id = "-754675720%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 = "../../space.kscience.kmath.structures/-mutable-buffer/copy.html" > < span > < span > copy< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-754675720%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" > < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-mutable-buffer/copy.html" > < span class = "token function" > copy< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-mutable-buffer/index.html" > MutableBuffer< / 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 > < div class = "brief " > < p class = "paragraph" > Returns a shallow copy of the buffer.< / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< 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 = "-659771697%2FFunctions%2F244675578" anchor-label = "get" id = "-659771697%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 = "../-structure1-d/get.html" > < span > < span > get< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-659771697%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" > operator override < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure1-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 class = "symbol monospace" > < span class = "token keyword" > abstract < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/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/index.html" > Int< / 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" > Gets element at given index.< / 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 = "1020666133%2FFunctions%2F244675578" anchor-label = "iterator" id = "1020666133%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 = "../-structure1-d/iterator.html" > < span > < span > iterator< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1020666133%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" > operator override < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure1-d/iterator.html" > < span class = "token function" > iterator< / 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.collections/-iterator/index.html" > Iterator< / 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 > < div class = "brief " > < p class = "paragraph" > Iterates over all elements.< / p > < / div > < / div > < / div >
2021-05-08 18:18:11 +03:00
< / div >
< / div >
< / div >
< / div >
< a data-name = "1074123757%2FFunctions%2F244675578" anchor-label = "set" id = "1074123757%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 = "1074123757%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" > operator override < / 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 class = "symbol monospace" > < span class = "token keyword" > abstract < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-mutable-buffer/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/index.html" > Int< / 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" > Sets the array element at the specified < a href = "../../space.kscience.kmath.structures/-mutable-buffer/set.html" > index< / a > to the specified < a href = "../../space.kscience.kmath.structures/-mutable-buffer/set.html" > value< / a > .< / 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 = "-663623727%2FProperties%2F244675578" anchor-label = "dimension" id = "-663623727%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 = "../-structure1-d/dimension.html" > dimension< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-663623727%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 = "-663623727%2FProperties%2F244675578" anchor-label = "dimension" id = "-663623727%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > override < / span > < span class = "token keyword" > val < / span > < a href = "../-structure1-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 = "-663623727%2FProperties%2F244675578" anchor-label = "dimension" id = "-663623727%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 = "../../../kmath-core/space.kscience.kmath.nd/-structure1-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 >
< 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 = "-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 >
< / div >
< / div >
< / div >
2022-04-12 11:30:54 +03:00
< a data-name = "465250067%2FProperties%2F244675578" anchor-label = "shape" id = "465250067%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/shape.html" > shape< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "465250067%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 = "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 >
2022-04-12 11:30:54 +03:00
< / div >
< / div >
< / div >
< a data-name = "638556180%2FProperties%2F244675578" anchor-label = "size" id = "638556180%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 = "../../space.kscience.kmath.structures/-buffer/size.html" > size< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "638556180%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 = "638556180%2FProperties%2F244675578" anchor-label = "size" id = "638556180%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > abstract < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "../../space.kscience.kmath.structures/-buffer/size.html" > size< / 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 = "638556180%2FProperties%2F244675578" anchor-label = "size" id = "638556180%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a > < p class = "paragraph" > The size of this buffer.< / 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 >
< div class = "table" data-togglable = "Sources" > < a data-name = "1091060992%2FSource%2F244675578" anchor-label = "https://github.com/mipt-npm/kmath/tree/master/kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/Structure1D.kt#L31" id = "1091060992%2FSource%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 = "https://github.com/mipt-npm/kmath/tree/master/kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/Structure1D.kt#L31" > common source< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1091060992%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 >