2023-04-09 11:31:42 +03:00
<!doctype html>
2021-03-12 21:24:01 +03:00
< html >
2023-04-09 11:31:42 +03:00
< head >
2021-03-12 21:24:01 +03:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" charset = "UTF-8" >
< title > Structure1D< / title >
2023-04-09 11:31:42 +03:00
< link href = "../../../images/logo-icon.svg" rel = "icon" type = "image/svg" > < script > var pathToRoot = "../../../" ; < / 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 " )
if (storage == null) {
const osDarkSchemePreferred = window.matchMedia & & window.matchMedia('(prefers-color-scheme: dark)').matches
if (osDarkSchemePreferred === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
} else {
const savedDarkMode = JSON.parse(storage)
if(savedDarkMode === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
}
< / 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 type = "text/javascript" src = "../../../scripts/symbol-parameters-wrapper_deferred.js" defer > < / script > < / head >
< body >
< 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 > 0.3.1-dev-RC
< / 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 >
2022-04-12 11:30:54 +03:00
< div id = "searchBar" > < / div >
< / div >
2023-04-09 11:31:42 +03:00
< / div >
< div id = "container" >
< div id = "leftColumn" >
2021-03-12 21:24:01 +03:00
< div id = "sideMenu" > < / div >
2023-04-09 11:31:42 +03:00
< / div >
< div id = "main" >
< div class = "main-content" data-page-type = "classlike" id = "content" pageids = "kmath-core::space.kscience.kmath.nd/Structure1D///PointingToDeclaration//244675578" >
< div class = "breadcrumbs" > < a href = "../../index.html" > kmath-core< / a > < span class = "delimiter" > /< / span > < a href = "../index.html" > space.kscience.kmath.nd< / a > < span class = "delimiter" > /< / span > < span class = "current" > Structure1D< / span > < / div >
< div class = "cover " >
< h1 class = "cover" > < span > < span > Structure1D< / span > < / span > < / h1 >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > interface < / span > < a href = "index.html" > Structure1D< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > out < / 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 > , < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "index.html" > T< / a > < span class = "token operator" > > < / span > < span class = "clearfix" > < span class = "floating-right" > (< a href = "https://github.com/SciProgCentre/kmath/tree/master/kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/Structure1D.kt#L18" > source< / a > )< / span > < / span > < / div > < p class = "paragraph" > A structure that is guaranteed to be one-dimensional< / p > < h4 class = "" > Inheritors< / h4 > < div class = "table" > < 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 = "../-mutable-structure1-d/index.html" > MutableStructure1D< / a > < / div > < / span > < / div > < div > < / div > < / div > < / div > < / div > < / div > < / div >
< / div >
< div class = "tabbedcontent" >
< div class = "tabs-section" tabs-section = "tabs-section" > < button class = "section-tab" data-active = "" data-togglable = "CONSTRUCTOR,TYPE,FUNCTION,PROPERTY" > Members< / button > < button class = "section-tab" data-togglable = "CONSTRUCTOR,TYPE,FUNCTION,PROPERTY,EXTENSION_PROPERTY,EXTENSION_FUNCTION" > Members & Extensions< / button > < / div >
< div class = "tabs-section-body" >
< div data-togglable = "TYPE" >
< h2 class = "" > Types< / h2 >
< div class = "table" > < a data-name = "1649305534%2FClasslikes%2F244675578" anchor-label = "Companion" id = "1649305534%2FClasslikes%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 = "-companion/index.html" > < span > < span > Companion< / span > < / span > < / a > < / div >
2022-04-12 11:30:54 +03:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1649305534%2FClasslikes%2F244675578" > < / span >
2023-04-09 11:31:42 +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" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > object < / span > < a href = "-companion/index.html" > Companion< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div data-togglable = "FUNCTION" >
< h2 class = "" > Functions< / h2 >
< div class = "table" > < a data-name = "-1580274091%2FFunctions%2F244675578" anchor-label = "as1D" id = "-1580274091%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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 = "../as1-d.html" > < span > < span > as1D< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1580274091%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../-structure-n-d/index.html" > StructureND< / 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 = "index.html" > Structure1D< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../as1-d.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Represent a < a href = "../-structure-n-d/index.html" > StructureND< / a > as < a href = "index.html" > Structure1D< / a > . Throw error in case of dimension mismatch.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-904581482%2FFunctions%2F244675578" anchor-label = "as2D" id = "-904581482%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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 = "../as2-d.html" > < span > < span > as2D< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-904581482%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../-structure-n-d/index.html" > StructureND< / 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 = "../-structure2-d/index.html" > Structure2D< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../as2-d.html" > T< / a > < span class = "token operator" > > < / 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 >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1846748955%2FFunctions%2F244675578" anchor-label = "asIterable" id = "-1846748955%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/as-iterable.html" > < span > as< / span > < wbr > < span > < span > Iterable< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1846748955%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.operations/as-iterable.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/as-iterable.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/as-iterable.html" > < span class = "token function" > asIterable< / 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/-iterable/index.html" > Iterable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/as-iterable.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Creates an iterable that returns all elements from this < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > .< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "656594194%2FFunctions%2F244675578" anchor-label = "asMatrix" id = "656594194%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.linear/as-matrix.html" > < span > as< / span > < wbr > < span > < span > Matrix< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "656594194%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.linear/as-matrix.html" > T< / 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 = "../../space.kscience.kmath.linear/index.html#-1940126653%2FClasslikes%2F244675578" > Point< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.linear/as-matrix.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.linear/as-matrix.html" > < span class = "token function" > asMatrix< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.linear/-virtual-matrix/index.html" > VirtualMatrix< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.linear/as-matrix.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Creates an n × 1 < a href = "../../space.kscience.kmath.linear/-virtual-matrix/index.html" > VirtualMatrix< / a > , where n is the size of the given buffer.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "35103955%2FFunctions%2F244675578" anchor-label = "asND" id = "35103955%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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 = "../as-n-d.html" > < span > as< / span > < wbr > < span > < span > ND< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "35103955%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../as-n-d.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../as-n-d.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../as-n-d.html" > < span class = "token function" > asND< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "index.html" > Structure1D< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../as-n-d.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Represent this buffer as 1D structure< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "261075529%2FFunctions%2F244675578" anchor-label = "asReadOnly" id = "261075529%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/as-read-only.html" > < span > as< / span > < wbr > < span > Read< / span > < wbr > < span > < span > Only< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "261075529%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.structures/as-read-only.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/as-read-only.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/as-read-only.html" > < span class = "token function" > asReadOnly< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/as-read-only.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Convert this buffer to read-only buffer.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-20539340%2FFunctions%2F244675578" anchor-label = "asSequence" id = "-20539340%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/as-sequence.html" > < span > as< / span > < wbr > < span > < span > Sequence< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-20539340%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.operations/as-sequence.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/as-sequence.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/as-sequence.html" > < span class = "token function" > asSequence< / 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 = "../../space.kscience.kmath.operations/as-sequence.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Creates a sequence that returns all elements from this < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > .< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-240548230%2FFunctions%2F244675578" anchor-label = "combineToBuffer" id = "-240548230%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/combine-to-buffer.html" > < span > combine< / span > < wbr > < span > To< / span > < wbr > < span > < span > Buffer< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-240548230%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html" > < span class = "token annotation builtin" > UnstableKMathAPI< / span > < / a > < / div > < / div > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > T1< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > T2< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > R< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > T1< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > < span class = "token function" > combineToBuffer< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > other< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > T2< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > bufferFactory< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer-factory/index.html" > BufferFactory< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > R< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > < span class = "token keyword" > crossinline < / span > transform< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > T1< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > T2< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > R< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > R< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Zip two buffers using given < a href = "../../space.kscience.kmath.operations/combine-to-buffer.html" > transform< / a > .< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1369572487%2FFunctions%2F244675578" anchor-label = "cumulativeSum" id = "1369572487%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/cumulative-sum.html" > < span > cumulative< / span > < wbr > < span > < span > Sum< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1369572487%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.misc/cumulative-sum.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/cumulative-sum.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/cumulative-sum.html" > < span class = "token function" > cumulativeSum< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > ring< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/-ring/index.html" > Ring< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/cumulative-sum.html" > T< / a > < span class = "token operator" > > < / span > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/cumulative-sum.html" > T< / a > < span class = "token operator" > > < / span > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1868863916%2FFunctions%2F244675578" anchor-label = "div" id = "1868863916%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.linear/-double-linear-space/div.html" > < span > < span > div< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1868863916%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.linear/index.html#-1940126653%2FClasslikes%2F244675578" > Point< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.linear/-double-linear-space/div.html" > < span class = "token function" > div< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > value< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-double-buffer/index.html" > DoubleBuffer< / a > < / div > < br > < 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 = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-double-field-ops-n-d/div.html" > < span class = "token function" > div< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > arg< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-double-buffer-n-d/index.html" > DoubleBufferND< / a > < / div > < div class = "brief " > < p class = "paragraph" > Divides an ND structure by an element of it.< / p > < / div > < 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 = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-double-field-ops-n-d/div.html" > < span class = "token function" > div< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > k< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html" > Number< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-double-buffer-n-d/index.html" > DoubleBufferND< / a > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/-short-buffer/index.html#1692373788%2FExtensions%2F244675578" > < span class = "token function" > div< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > k< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html" > Number< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > :
< / 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 " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-structure-n-d/elements.html" > < span > < span > elements< / span > < / span > < / a > < / div >
2022-04-12 11:30:54 +03:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1283934063%2FFunctions%2F244675578" > < / span >
2023-04-09 11:31:42 +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" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-performance-pitfall/index.html" > < span class = "token annotation builtin" > 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 > < / div > < div class = "brief " > < p class = "paragraph" > Returns the sequence of all the elements associated by their indices.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1839873707%2FFunctions%2F244675578" anchor-label = "expand" id = "-1839873707%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/expand.html" > < span > < span > expand< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1839873707%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.structures/expand.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/expand.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/expand.html" > < span class = "token function" > expand< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > range< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/-int-range/index.html" > IntRange< / a > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > defaultValue< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/expand.html" > T< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer-view/index.html" > BufferView< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/expand.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Resize original buffer to a given range using given < a href = "../../space.kscience.kmath.structures/expand.html" > range< / a > , filling additional segments with < a href = "../../space.kscience.kmath.structures/expand.html" > defaultValue< / a > . Range left border could be negative to designate adding new blank segment to the beginning of the buffer< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1424591221%2FFunctions%2F244675578" anchor-label = "first" id = "1424591221%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/first.html" > < span > < span > first< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1424591221%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.structures/first.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/first.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/first.html" > < span class = "token function" > first< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/first.html" > T< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1610112824%2FFunctions%2F244675578" anchor-label = "fold" id = "-1610112824%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/fold.html" > < span > < span > fold< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1610112824%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.operations/fold.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/fold.html" > R< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/fold.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/fold.html" > < span class = "token function" > fold< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > initial< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/fold.html" > R< / a > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > operation< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > acc< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/fold.html" > R< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/fold.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/fold.html" > R< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/fold.html" > R< / a > < / div > < div class = "brief " > < p class = "paragraph" > Fold given buffer according to < a href = "../../space.kscience.kmath.operations/fold.html" > operation< / a > < / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "685184350%2FFunctions%2F244675578" anchor-label = "foldIndexed" id = "685184350%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/fold-indexed.html" > < span > fold< / span > < wbr > < span > < span > Indexed< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "685184350%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.operations/fold-indexed.html" > T< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html" > Any< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/fold-indexed.html" > R< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/fold-indexed.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/fold-indexed.html" > < span class = "token function" > foldIndexed< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > initial< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/fold-indexed.html" > R< / a > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > operation< 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/index.html" > Int< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > acc< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/fold-indexed.html" > R< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/fold-indexed.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/fold-indexed.html" > R< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/fold-indexed.html" > R< / a > < / div > < div class = "brief " > < p class = "paragraph" > Fold given buffer according to indexed < a href = "../../space.kscience.kmath.operations/fold-indexed.html" > operation< / a > < / p > < / div > < / div > < / div >
2021-03-12 21:24:01 +03:00
< / div >
2023-04-09 11:31:42 +03:00
< / div >
< / div >
< / div >
2021-05-08 18:18:11 +03:00
< a data-name = "-659771697%2FFunctions%2F244675578" anchor-label = "get" id = "-659771697%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
2023-04-09 11:31:42 +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 " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "get.html" > < span > < span > get< / span > < / span > < / a > < / div >
2022-04-12 11:30:54 +03:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-659771697%2FFunctions%2F244675578" > < / span >
2023-04-09 11:31:42 +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" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-performance-pitfall/index.html" > < span class = "token annotation builtin" > PerformancePitfall< / span > < / a > < / div > < / div > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator override < / span > < span class = "token keyword" > fun < / span > < a href = "get.html" > < span class = "token function" > get< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "index.html" > T< / a > < / 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 > < span class = "parameters " > < span class = "parameter " > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "index.html" > T< / a > < / div > < div class = "brief " > < p class = "paragraph" > Gets element at given index.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "662516713%2FFunctions%2F244675578" anchor-label = "get" id = "662516713%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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 = "../get.html" > < span > < span > get< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "662516713%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-performance-pitfall/index.html" > < span class = "token annotation builtin" > PerformancePitfall< / span > < / a > < / div > < / div > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../get.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 = "../get.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../get.html" > < span class = "token function" > get< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > < span class = "token keyword" > vararg < / span > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../get.html" > T< / a > < / div > < div class = "brief " > < p class = "paragraph" > Returns the value at the specified indices.< / p > < / div > < div class = "symbol monospace" > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../get.html" > < span class = "token function" > get< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > < span class = "token keyword" > vararg < / span > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / div > < div class = "symbol monospace" > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../get.html" > < span class = "token function" > get< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > < span class = "token keyword" > vararg < / span > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < div class = "symbol monospace" > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/get.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/get.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/get.html" > < span class = "token function" > get< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " >
2021-03-12 21:24:01 +03:00
< / div >
2023-04-09 11:31:42 +03:00
< / div >
< / div >
< / div >
< a data-name = "79780122%2FFunctions%2F244675578" anchor-label = "getDouble" id = "79780122%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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 = "../get-double.html" > < span > get< / span > < wbr > < span > < span > Double< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "79780122%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../get-double.html" > < span class = "token function" > getDouble< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / div > < div class = "brief " > < p class = "paragraph" > Optimized method to access primitive without boxing if possible< / p > < / div > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html" > < span class = "token annotation builtin" > UnstableKMathAPI< / span > < / a > < / div > < / div > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/get-double.html" > < span class = "token function" > getDouble< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / div > < div class = "brief " > < p class = "paragraph" > Non-boxing access to primitive < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
2021-05-08 18:18:11 +03:00
< a data-name = "2024771126%2FFunctions%2F244675578" anchor-label = "getFeature" id = "2024771126%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
2023-04-09 11:31:42 +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 " >
< 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 >
2022-04-12 11:30:54 +03:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "2024771126%2FFunctions%2F244675578" > < / span >
2023-04-09 11:31:42 +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" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 > < span class = "parameters " > < span class = "parameter " > 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 > < / 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 > < / 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 >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1806999824%2FFunctions%2F244675578" anchor-label = "getInt" id = "1806999824%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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 = "../get-int.html" > < span > get< / span > < wbr > < span > < span > Int< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1806999824%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../get-int.html" > < span class = "token function" > getInt< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < br > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html" > < span class = "token annotation builtin" > UnstableKMathAPI< / span > < / a > < / div > < / div > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/get-int.html" > < span class = "token function" > getInt< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < div class = "brief " > < p class = "paragraph" > Non-boxing access to primitive < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-345066717%2FFunctions%2F244675578" anchor-label = "getOrNull" id = "-345066717%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/get-or-null.html" > < span > get< / span > < wbr > < span > Or< / span > < wbr > < span > < span > Null< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-345066717%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.structures/get-or-null.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/get-or-null.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/get-or-null.html" > < span class = "token function" > getOrNull< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > index< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/get-or-null.html" > T< / a > < span class = "token operator" > ?< / span > < / div > < div class = "brief " > < p class = "paragraph" > if index is in range of buffer, return the value. Otherwise, return null.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1942874158%2FFunctions%2F244675578" anchor-label = "indicesSorted" id = "1942874158%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/indices-sorted.html" > < span > indices< / span > < wbr > < span > < span > Sorted< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1942874158%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html" > < span class = "token annotation builtin" > UnstableKMathAPI< / span > < / a > < / div > < / div > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted.html" > V< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html" > Comparable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/indices-sorted.html" > < span class = "token function" > indicesSorted< / 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/-int-array/index.html" > IntArray< / a > < / div > < div class = "brief " > < p class = "paragraph" > Return a new array filled with buffer indices. Indices order is defined by sorting associated buffer value. This feature allows sorting buffer values without reordering its content.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1674036235%2FFunctions%2F244675578" anchor-label = "indicesSortedBy" id = "-1674036235%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/indices-sorted-by.html" > < span > indices< / span > < wbr > < span > Sorted< / span > < wbr > < span > < span > By< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1674036235%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html" > < span class = "token annotation builtin" > UnstableKMathAPI< / span > < / a > < / div > < / div > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by.html" > V< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by.html" > C< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html" > Comparable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by.html" > C< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by.html" > < span class = "token function" > indicesSortedBy< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > selector< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by.html" > V< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by.html" > C< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-2137974707%2FFunctions%2F244675578" anchor-label = "indicesSortedByDescending" id = "-2137974707%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/indices-sorted-by-descending.html" > < span > indices< / span > < wbr > < span > Sorted< / span > < wbr > < span > By< / span > < wbr > < span > < span > Descending< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-2137974707%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html" > < span class = "token annotation builtin" > UnstableKMathAPI< / span > < / a > < / div > < / div > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by-descending.html" > V< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by-descending.html" > C< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html" > Comparable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by-descending.html" > C< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by-descending.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by-descending.html" > < span class = "token function" > indicesSortedByDescending< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > selector< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by-descending.html" > V< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-by-descending.html" > C< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < / div > < / div > < / div >
2021-03-12 21:24:01 +03:00
< / div >
2023-04-09 11:31:42 +03:00
< / div >
< / div >
< / div >
< a data-name = "-430137322%2FFunctions%2F244675578" anchor-label = "indicesSortedDescending" id = "-430137322%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/indices-sorted-descending.html" > < span > indices< / span > < wbr > < span > Sorted< / span > < wbr > < span > < span > Descending< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-430137322%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html" > < span class = "token annotation builtin" > UnstableKMathAPI< / span > < / a > < / div > < / div > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-descending.html" > V< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html" > Comparable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-descending.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-descending.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-descending.html" > < span class = "token function" > indicesSortedDescending< / 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/-int-array/index.html" > IntArray< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "309344370%2FFunctions%2F244675578" anchor-label = "indicesSortedWith" id = "309344370%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/indices-sorted-with.html" > < span > indices< / span > < wbr > < span > Sorted< / span > < wbr > < span > < span > With< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "309344370%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html" > < span class = "token annotation builtin" > UnstableKMathAPI< / span > < / a > < / div > < / div > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-with.html" > V< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-with.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-with.html" > < span class = "token function" > indicesSortedWith< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > comparator< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparator/index.html" > Comparator< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/indices-sorted-with.html" > V< / a > < span class = "token operator" > > < / span > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
2021-05-08 18:18:11 +03:00
< a data-name = "1020666133%2FFunctions%2F244675578" anchor-label = "iterator" id = "1020666133%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
2023-04-09 11:31:42 +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 " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "iterator.html" > < span > < span > iterator< / span > < / span > < / a > < / div >
2022-04-12 11:30:54 +03:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1020666133%2FFunctions%2F244675578" > < / span >
2023-04-09 11:31:42 +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" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "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 > < / div > < div class = "brief " > < p class = "paragraph" > Iterates over all elements.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1511937493%2FFunctions%2F244675578" anchor-label = "last" id = "-1511937493%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/last.html" > < span > < span > last< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1511937493%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.structures/last.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/last.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/last.html" > < span class = "token function" > last< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/last.html" > T< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "2032610807%2FFunctions%2F244675578" anchor-label = "map" id = "2032610807%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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-of-int/index.html#1893946570%2FExtensions%2F244675578" > < span > < span > map< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "2032610807%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-performance-pitfall/index.html" > < span class = "token annotation builtin" > PerformancePitfall< / span > < / a > < span class = "token punctuation" > (< / span > < span > message< span class = "token operator" > = < / span > < span class = "breakable-word" > < span class = "token string" > "Very slow on remote execution algebras"< / span > < / span > < / span > < wbr > < span class = "token punctuation" > )< / span > < / div > < / div > < span class = "token keyword" > open < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#1893946570%2FExtensions%2F244675578" > < span class = "token function" > map< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > transform< span class = "token operator" > : < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/-int-ring/index.html" > IntRing< / a > < span class = "token punctuation" > .< / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / 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 > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Maps elements from one structure to another one by applying < a href = "../-structure-n-d-of-int/index.html#1893946570%2FExtensions%2F244675578" > transform< / a > to them.< / p > < / div > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-performance-pitfall/index.html" > < span class = "token annotation builtin" > PerformancePitfall< / span > < / a > < span class = "token punctuation" > (< / span > < span > message< span class = "token operator" > = < / span > < span class = "breakable-word" > < span class = "token string" > "Very slow on remote execution algebras"< / span > < / span > < / span > < wbr > < span class = "token punctuation" > )< / span > < / div > < / div > < span class = "token keyword" > open < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html" > Short< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#-964614972%2FExtensions%2F244675578" > < span class = "token function" > map< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > transform< span class = "token operator" > : < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/-short-ring/index.html" > ShortRing< / a > < span class = "token punctuation" > .< / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html" > Short< / a > < span class = "token punctuation" > )< / span > < span class = "token o
< / div >
< / div >
< / div >
< / div >
< a data-name = "-819184223%2FFunctions%2F244675578" anchor-label = "mapIndexed" id = "-819184223%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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-of-int/index.html#1341969135%2FExtensions%2F244675578" > < span > map< / span > < wbr > < span > < span > Indexed< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-819184223%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-performance-pitfall/index.html" > < span class = "token annotation builtin" > PerformancePitfall< / span > < / a > < span class = "token punctuation" > (< / span > < span > message< span class = "token operator" > = < / span > < span class = "breakable-word" > < span class = "token string" > "Very slow on remote execution algebras"< / span > < / span > < / span > < wbr > < span class = "token punctuation" > )< / span > < / div > < / div > < span class = "token keyword" > open < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#1341969135%2FExtensions%2F244675578" > < span class = "token function" > mapIndexed< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > transform< span class = "token operator" > : < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/-double-field/index.html" > DoubleField< / a > < span class = "token punctuation" > .< / 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Maps elements from one structure to another one by applying < a href = "../-structure-n-d-of-int/index.html#1341969135%2FExtensions%2F244675578" > transform< / a > to them alongside with their indices.< / p > < / div > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-performance-pitfall/index.html" > < span class = "token annotation builtin" > PerformancePitfall< / span > < / a > < span class = "token punctuation" > (< / span > < span > message< span class = "token operator" > = < / span > < span class = "breakable-word" > < span class = "token string" > "Very slow on remote execution algebras"< / span > < / span > < / span > < wbr > < span class = "token punctuation" > )< / span > < / div > < / div > < span class = "token keyword" > open < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#-995243463%2FExtensions%2F244675578" > < span class = "token function" > mapIndexed< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > transform< span class = "token operator" > : < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/-int-ring/index
< / div >
< / div >
< / div >
< / div >
< a data-name = "-677815391%2FFunctions%2F244675578" anchor-label = "mapIndexedToBuffer" id = "-677815391%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/map-indexed-to-buffer.html" > < span > map< / span > < wbr > < span > Indexed< / span > < wbr > < span > To< / span > < wbr > < span > < span > Buffer< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-677815391%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.operations/map-indexed-to-buffer.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-indexed-to-buffer.html" > R< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-indexed-to-buffer.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/map-indexed-to-buffer.html" > < span class = "token function" > mapIndexedToBuffer< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > bufferFactory< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer-factory/index.html" > BufferFactory< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-indexed-to-buffer.html" > R< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > < span class = "token keyword" > crossinline < / span > block< 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/index.html" > Int< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > value< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/map-indexed-to-buffer.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-indexed-to-buffer.html" > R< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-indexed-to-buffer.html" > R< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Create a new buffer from this one with the given mapping (indexed) function. Provided < a href = "../../space.kscience.kmath.operations/map-indexed-to-buffer.html" > bufferFactory< / a > is used to construct the new buffer.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1444729901%2FFunctions%2F244675578" anchor-label = "mapToBuffer" id = "-1444729901%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/map-to-buffer.html" > < span > map< / span > < wbr > < span > To< / span > < wbr > < span > < span > Buffer< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1444729901%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.operations/map-to-buffer.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-to-buffer.html" > R< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-to-buffer.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/map-to-buffer.html" > < span class = "token function" > mapToBuffer< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > bufferFactory< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer-factory/index.html" > BufferFactory< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-to-buffer.html" > R< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > < span class = "token keyword" > crossinline < / span > block< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-to-buffer.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-to-buffer.html" > R< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/map-to-buffer.html" > R< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Create a new buffer from this one with the given mapping function. Provided < a href = "../../space.kscience.kmath.operations/map-to-buffer.html" > bufferFactory< / a > is used to construct the new buffer.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1082101901%2FFunctions%2F244675578" anchor-label = "minus" id = "-1082101901%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.linear/-double-linear-space/minus.html" > < span > < span > minus< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1082101901%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.linear/index.html#-1940126653%2FClasslikes%2F244675578" > Point< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.linear/-double-linear-space/minus.html" > < span class = "token function" > minus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > other< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.linear/index.html#-1940126653%2FClasslikes%2F244675578" > Point< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-double-buffer/index.html" > DoubleBuffer< / a > < / div > < div class = "brief " > < p class = "paragraph" > Vector subtraction< / p > < / div > < 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 = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-double-field-ops-n-d/minus.html" > < span class = "token function" > minus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > arg< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#2001449425%2FExtensions%2F244675578" > < span class = "token function" > minus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > arg< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < /
< / div >
< / div >
< / div >
< / div >
< a data-name = "-2019126012%2FFunctions%2F244675578" anchor-label = "permute" id = "-2019126012%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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 = "../permute.html" > < span > < span > permute< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-2019126012%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../permute.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 = "../permute.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../permute.html" > < span class = "token function" > permute< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > permutation< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / 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 operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-permuted-structure-n-d/index.html" > PermutedStructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../permute.html" > T< / a > < span class = "token operator" > > < / span > < / div > < br > < 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 = "../../space.kscience.kmath.structures/permute.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/permute.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/permute.html" > < span class = "token function" > permute< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > indices< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-permuted-buffer/index.html" > PermutedBuffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/permute.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Created a permuted view of given buffer using provided < a href = "../../space.kscience.kmath.structures/permute.html" > indices< / a > < / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1588071785%2FFunctions%2F244675578" anchor-label = "plus" id = "1588071785%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.linear/-double-linear-space/plus.html" > < span > < span > plus< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1588071785%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.linear/index.html#-1940126653%2FClasslikes%2F244675578" > Point< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.linear/-double-linear-space/plus.html" > < span class = "token function" > plus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > other< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.linear/index.html#-1940126653%2FClasslikes%2F244675578" > Point< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-double-buffer/index.html" > DoubleBuffer< / a > < / div > < div class = "brief " > < p class = "paragraph" > Vector sum< / p > < / div > < 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 = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-double-field-ops-n-d/plus.html" > < span class = "token function" > plus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > arg< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-double-buffer-n-d/index.html" > DoubleBufferND< / a > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#40734981%2FExtensions%2F244675578" > < span class = "token function" > plus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > arg< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html" > Short< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.
< / div >
< / div >
< / div >
< / div >
< a data-name = "364772795%2FFunctions%2F244675578" anchor-label = "pow" id = "364772795%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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-of-int/index.html#-365011539%2FExtensions%2F244675578" > < span > < span > pow< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "364772795%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > infix < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#-365011539%2FExtensions%2F244675578" > < span class = "token function" > pow< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > pow< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html" > Number< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Raises this value to the power < a href = "../-structure-n-d-of-int/index.html#-365011539%2FExtensions%2F244675578" > pow< / a > .< / p > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > infix < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/-short-buffer/index.html#231882650%2FExtensions%2F244675578" > < span class = "token function" > pow< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > pow< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html" > Number< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Raises this value to the power < a href = "../../space.kscience.kmath.structures/-short-buffer/index.html#231882650%2FExtensions%2F244675578" > pow< / a > .< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-2098262748%2FFunctions%2F244675578" anchor-label = "reduce" id = "-2098262748%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/reduce.html" > < span > < span > reduce< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-2098262748%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.operations/reduce.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/reduce.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/reduce.html" > < span class = "token function" > reduce< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > operation< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > left< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/reduce.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > value< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/reduce.html" > T< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/reduce.html" > T< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.operations/reduce.html" > T< / a > < / div > < div class = "brief " > < p class = "paragraph" > Reduce a buffer from left to right according to < a href = "../../space.kscience.kmath.operations/reduce.html" > operation< / a > < / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1025038672%2FFunctions%2F244675578" anchor-label = "requireSorted" id = "-1025038672%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/require-sorted.html" > < span > require< / span > < wbr > < span > < span > Sorted< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1025038672%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.misc/require-sorted.html" > T< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html" > Comparable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/require-sorted.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/require-sorted.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/require-sorted.html" > < span class = "token function" > requireSorted< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < / div > < div class = "brief " > < p class = "paragraph" > Checks that the < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > is sorted (ascending) and throws < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html" > IllegalArgumentException< / a > if it is not.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "996435624%2FFunctions%2F244675578" anchor-label = "roll" id = "996435624%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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 = "../roll.html" > < span > < span > roll< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "996435624%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../roll.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 = "../roll.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../roll.html" > < span class = "token function" > roll< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > axis< 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 > < span class = "parameter " > step< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > = < / span > < span class = "token constant" > 1< / span > < / span > < / span > < span class = "token punctuation" > )< / span > < 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 = "../roll.html" > T< / a > < span class = "token operator" > > < / span > < / div > < 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 = "../roll.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 = "../roll.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../roll.html" > < span class = "token function" > roll< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > pair< span class = "token operator" > : < / 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/index.html" > Int< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > < span class = "token keyword" > vararg < / span > others< span class = "token operator" > : < / 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/index.html" > Int< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < / span > < / span > < span class = "token punctuation" > )< / span > < 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 = "../roll.html" > T< / a > < span class = "token operator" > > < / span > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1492624350%2FFunctions%2F244675578" anchor-label = "slice" id = "1492624350%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/slice.html" > < span > < span > slice< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1492624350%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.structures/slice.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/slice.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/slice.html" > < span class = "token function" > slice< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > range< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/-int-range/index.html" > IntRange< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer-view/index.html" > BufferView< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/slice.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Zero-copy select a slice inside the original buffer< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1416505235%2FFunctions%2F244675578" anchor-label = "sorted" id = "-1416505235%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/sorted.html" > < span > < span > sorted< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1416505235%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.misc/sorted.html" > V< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html" > Comparable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/sorted.html" > < span class = "token function" > sorted< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted.html" > V< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Create a zero-copy virtual buffer that contains the same elements but in ascending order< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "132547926%2FFunctions%2F244675578" anchor-label = "sortedBy" id = "132547926%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/sorted-by.html" > < span > sorted< / span > < wbr > < span > < span > By< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "132547926%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.misc/sorted-by.html" > V< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by.html" > C< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html" > Comparable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by.html" > C< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/sorted-by.html" > < span class = "token function" > sortedBy< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > selector< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by.html" > V< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by.html" > C< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by.html" > V< / a > < span class = "token operator" > > < / span > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1281350766%2FFunctions%2F244675578" anchor-label = "sortedByDescending" id = "1281350766%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/sorted-by-descending.html" > < span > sorted< / span > < wbr > < span > By< / span > < wbr > < span > < span > Descending< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1281350766%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.misc/sorted-by-descending.html" > V< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by-descending.html" > C< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html" > Comparable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by-descending.html" > C< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by-descending.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/sorted-by-descending.html" > < span class = "token function" > sortedByDescending< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > selector< span class = "token operator" > : < / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by-descending.html" > V< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by-descending.html" > C< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-by-descending.html" > V< / a > < span class = "token operator" > > < / span > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1841525355%2FFunctions%2F244675578" anchor-label = "sortedDescending" id = "-1841525355%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.misc/sorted-descending.html" > < span > sorted< / span > < wbr > < span > < span > Descending< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1841525355%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.misc/sorted-descending.html" > V< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html" > Comparable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-descending.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-descending.html" > V< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.misc/sorted-descending.html" > < span class = "token function" > sortedDescending< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.misc/sorted-descending.html" > V< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Create a zero-copy virtual buffer that contains the same elements but in descending order< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1648314179%2FFunctions%2F244675578" anchor-label = "times" id = "-1648314179%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.linear/-double-linear-space/times.html" > < span > < span > times< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1648314179%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.linear/index.html#-1940126653%2FClasslikes%2F244675578" > Point< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.linear/-double-linear-space/times.html" > < span class = "token function" > times< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > value< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-double-buffer/index.html" > DoubleBuffer< / a > < / div > < div class = "brief " > < p class = "paragraph" > Multiplies a vector by its element.< / p > < / div > < 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 = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-double-field-ops-n-d/times.html" > < span class = "token function" > times< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > k< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html" > Number< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-double-buffer-n-d/index.html" > DoubleBufferND< / a > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/-short-buffer/index.html#938535495%2FExtensions%2F244675578" > < span class = "token function" > times< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > k< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html" > Number< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Multiplication of this element by a scalar.< / p > < / div > < 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 = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-double-field-ops-n-d
< / div >
< / div >
< / div >
< / div >
< a data-name = "-630207969%2FFunctions%2F244675578" anchor-label = "toBufferND" id = "-630207969%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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-of-int/index.html#-1280171797%2FExtensions%2F244675578" > < span > to< / span > < wbr > < span > Buffer< / span > < wbr > < span > < span > ND< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-630207969%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#-1280171797%2FExtensions%2F244675578" > < span class = "token function" > toBufferND< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-buffer-n-d/index.html" > BufferND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html" > Short< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#-763251394%2FExtensions%2F244675578" > < span class = "token function" > toBufferND< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-buffer-n-d/index.html" > BufferND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html" > Short< / a > < span class = "token operator" > > < / span > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > override < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-double-field-ops-n-d/to-buffer-n-d.html" > < span class = "token function" > toBufferND< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-double-buffer-n-d/index.html" > DoubleBufferND< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1331286954%2FFunctions%2F244675578" anchor-label = "toByteArray" id = "1331286954%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/to-byte-array.html" > < span > to< / span > < wbr > < span > Byte< / span > < wbr > < span > < span > Array< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1331286954%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte/index.html" > Byte< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/to-byte-array.html" > < span class = "token function" > toByteArray< / 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/-byte-array/index.html" > ByteArray< / a > < / div > < div class = "brief " > < p class = "paragraph" > Returns a new < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html" > ByteArray< / a > containing all the elements of this < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > .< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-845426024%2FFunctions%2F244675578" anchor-label = "toDoubleArray" id = "-845426024%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/to-double-array.html" > < span > to< / span > < wbr > < span > Double< / span > < wbr > < span > < span > Array< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-845426024%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/to-double-array.html" > < span class = "token function" > toDoubleArray< / 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/-double-array/index.html" > DoubleArray< / a > < / div > < div class = "brief " > < p class = "paragraph" > Returns a new < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double-array/index.html" > DoubleArray< / a > containing all the elements of this < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > .< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1585458905%2FFunctions%2F244675578" anchor-label = "toDoubleBuffer" id = "-1585458905%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/to-double-buffer.html" > < span > to< / span > < wbr > < span > Double< / span > < wbr > < span > < span > Buffer< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1585458905%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/to-double-buffer.html" > < span class = "token function" > toDoubleBuffer< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-double-buffer/index.html" > DoubleBuffer< / a > < / div > < div class = "brief " > < p class = "paragraph" > Represent this buffer as < a href = "../../space.kscience.kmath.structures/-double-buffer/index.html" > DoubleBuffer< / a > . Does not guarantee that changes in the original buffer are reflected on this buffer.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-2041002922%2FFunctions%2F244675578" anchor-label = "toFloatArray" id = "-2041002922%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/to-float-array.html" > < span > to< / span > < wbr > < span > Float< / span > < wbr > < span > < span > Array< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-2041002922%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html" > Float< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/to-float-array.html" > < span class = "token function" > toFloatArray< / 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/-float-array/index.html" > FloatArray< / a > < / div > < div class = "brief " > < p class = "paragraph" > Returns a new < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float-array/index.html" > FloatArray< / a > containing all the elements of this < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > .< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1525979830%2FFunctions%2F244675578" anchor-label = "toIntArray" id = "1525979830%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/to-int-array.html" > < span > to< / span > < wbr > < span > Int< / span > < wbr > < span > < span > Array< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1525979830%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/to-int-array.html" > < span class = "token function" > toIntArray< / 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/-int-array/index.html" > IntArray< / a > < / div > < div class = "brief " > < p class = "paragraph" > Returns a new < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html" > IntArray< / a > containing all the elements of this < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > .< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-472182310%2FFunctions%2F244675578" anchor-label = "toList" id = "-472182310%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/to-list.html" > < span > to< / span > < wbr > < span > < span > List< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-472182310%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../../space.kscience.kmath.operations/to-list.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/to-list.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/to-list.html" > < span class = "token function" > toList< / 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/-list/index.html" > List< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/to-list.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns a new < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html" > List< / a > containing all elements of this buffer.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-2553406%2FFunctions%2F244675578" anchor-label = "toLongArray" id = "-2553406%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/to-long-array.html" > < span > to< / span > < wbr > < span > Long< / span > < wbr > < span > < span > Array< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-2553406%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html" > Long< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/to-long-array.html" > < span class = "token function" > toLongArray< / 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/-long-array/index.html" > LongArray< / a > < / div > < div class = "brief " > < p class = "paragraph" > Returns a new < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long-array/index.html" > LongArray< / a > containing all the elements of this < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > .< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1546229214%2FFunctions%2F244675578" anchor-label = "toMutableList" id = "-1546229214%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/to-mutable-list.html" > < span > to< / span > < wbr > < span > Mutable< / span > < wbr > < span > < span > List< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1546229214%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html" > < span class = "token annotation builtin" > UnstableKMathAPI< / span > < / a > < / div > < / div > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/to-mutable-list.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/to-mutable-list.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/to-mutable-list.html" > < span class = "token function" > toMutableList< / 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/-mutable-list/index.html" > MutableList< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/to-mutable-list.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns a new < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html" > MutableList< / a > filled with all elements of this buffer. < strong > NOTE:< / strong > this method uses a protective copy, so it should not be used in performance-critical code.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "109846614%2FFunctions%2F244675578" anchor-label = "toShortArray" id = "109846614%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/to-short-array.html" > < span > to< / span > < wbr > < span > Short< / span > < wbr > < span > < span > Array< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "109846614%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html" > Short< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/to-short-array.html" > < span class = "token function" > toShortArray< / 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/-short-array/index.html" > ShortArray< / a > < / div > < div class = "brief " > < p class = "paragraph" > Returns a new < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short-array/index.html" > ShortArray< / a > containing all the elements of this < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > .< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1070811659%2FFunctions%2F244675578" anchor-label = "toTypedArray" id = "1070811659%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/to-typed-array.html" > < span > to< / span > < wbr > < span > Typed< / span > < wbr > < span > < span > Array< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1070811659%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < div class = "block" > < div class = "block" > < span class = "token annotation builtin" > @< / span > < a href = "../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html" > < span class = "token annotation builtin" > UnstableKMathAPI< / span > < / a > < / div > < / div > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/to-typed-array.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/to-typed-array.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/to-typed-array.html" > < span class = "token function" > toTypedArray< / 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/-array/index.html" > Array< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/to-typed-array.html" > T< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns a new < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html" > Array< / a > containing all elements of this buffer. < strong > NOTE:< / strong > this method uses a protective copy, so it should not be used in performance-critical code.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1324765882%2FFunctions%2F244675578" anchor-label = "unaryMinus" id = "1324765882%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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/-short-buffer/index.html#2076272132%2FExtensions%2F244675578" > < span > unary< / span > < wbr > < span > < span > Minus< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1324765882%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.linear/index.html#-1940126653%2FClasslikes%2F244675578" > Point< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/-short-buffer/index.html#2076272132%2FExtensions%2F244675578" > < span class = "token function" > unaryMinus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.linear/index.html#-1940126653%2FClasslikes%2F244675578" > Point< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < / div > < br > < 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 = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#1811733211%2FExtensions%2F244675578" > < span class = "token function" > unaryMinus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < / div > < 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 = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html" > Short< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#-1559907538%2FExtensions%2F244675578" > < span class = "token function" > unaryMinus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html" > Short< / a > < span class = "token operator" > > < / span > < / div > < 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 = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-double-field-ops-n-d/unary-minus.html" > < span class = "token function" > unaryMinus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-double-buffer-n-d/index.html" > DoubleBufferND< / a > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" >
< / div >
< / div >
< / div >
< / div >
< a data-name = "28497534%2FFunctions%2F244675578" anchor-label = "unaryPlus" id = "28497534%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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 = "../-double-field-ops-n-d/unary-plus.html" > < span > unary< / span > < wbr > < span > < span > Plus< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "28497534%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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 = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-double-field-ops-n-d/unary-plus.html" > < span class = "token function" > unaryPlus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-double-buffer-n-d/index.html" > DoubleBufferND< / a > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#-344879808%2FExtensions%2F244675578" > < span class = "token function" > unaryPlus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../-structure-n-d/index.html" > StructureND< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html" > Short< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../-structure-n-d-of-int/index.html#404185171%2FExtensions%2F244675578" > < span class = "token function" > unaryPlus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < 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 = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-short/index.html" > Short< / a > < span class = "token operator" > > < / span > < / div > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/-short-buffer/index.html#-1140605893%2FExtensions%2F244675578" > < span class = "token function" > unaryPlus< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < / div > < div class = "brief " > < p class = "paragraph" > Returns this value.< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1374325921%2FFunctions%2F244675578" anchor-label = "zip" id = "1374325921%2FFunctions%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_FUNCTION" 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.operations/-double-buffer-ops/zip.html" > < span > < span > zip< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1374325921%2FFunctions%2F244675578" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline override < / span > < span class = "token keyword" > fun < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.operations/-double-buffer-ops/zip.html" > < span class = "token function" > zip< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > other< span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > block< span class = "token operator" > : < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.operations/-double-field/index.html" > DoubleField< / a > < span class = "token punctuation" > .< / span > < span class = "token punctuation" > (< / span > < span class = "token keyword" > < / span > left< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > right< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < span class = "token punctuation" > )< / span > < span class = "token operator" > -> < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html" > Double< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../../space.kscience.kmath.structures/-double-buffer/index.html" > DoubleBuffer< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div data-togglable = "PROPERTY" >
< h2 class = "" > Properties< / h2 >
< div class = "table" > < a data-name = "-663623727%2FProperties%2F244675578" anchor-label = "dimension" id = "-663623727%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 = "dimension.html" > < span > < span > dimension< / span > < / span > < / a > < / div >
2022-04-12 11:30:54 +03:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-663623727%2FProperties%2F244675578" > < / span >
2023-04-09 11:31:42 +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" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-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" > val < / span > < a href = "dimension.html" > dimension< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < div class = "brief " > < 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-03-12 21:24:01 +03:00
< / div >
2023-04-09 11:31:42 +03:00
< / 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 >
2023-04-09 11:31:42 +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 " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-with-shape/indices.html" > < span > < span > indices< / span > < / span > < / a > < / div >
2022-04-12 11:30:54 +03:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-11447685%2FProperties%2F244675578" > < / span >
2023-04-09 11:31:42 +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" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < 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 > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1181059180%2FProperties%2F244675578" anchor-label = "indices" id = "1181059180%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
< div class = "table-row" data-togglable = "EXTENSION_PROPERTY" 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/indices.html" > < span > < span > indices< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1181059180%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 >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/indices.html" > T< / a > < span class = "token operator" > > < / span > < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../space.kscience.kmath.structures/indices.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../space.kscience.kmath.structures/indices.html" > indices< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/-int-range/index.html" > IntRange< / a > < / div > < div class = "brief " > < p class = "paragraph" > Returns an < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/-int-range/index.html" > IntRange< / a > of the valid indices for this < a href = "../../space.kscience.kmath.structures/-buffer/index.html" > Buffer< / a > .< / p > < / div > < / div > < / div >
2021-03-12 21:24:01 +03:00
< / div >
2023-04-09 11:31:42 +03:00
< / 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 >
2023-04-09 11:31:42 +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 " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-structure-n-d/shape.html" > < span > < span > shape< / span > < / span > < / a > < / div >
2022-04-12 11:30:54 +03:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "465250067%2FProperties%2F244675578" > < / span >
2023-04-09 11:31:42 +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" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < 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 = "../-shape-n-d/index.html" > ShapeND< / a > < / div > < div class = "brief " > < 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 >
2022-04-12 11:30:54 +03:00
< / div >
2023-04-09 11:31:42 +03:00
< / div >
< / div >
< / div >
2022-04-12 11:30:54 +03:00
< a data-name = "638556180%2FProperties%2F244675578" anchor-label = "size" id = "638556180%2FProperties%2F244675578" data-filterable-set = ":kmath-core:dokkaHtmlPartial/commonMain" > < / a >
2023-04-09 11:31:42 +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 " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../../space.kscience.kmath.structures/-buffer/size.html" > < span > < span > size< / span > < / span > < / a > < / div >
2022-04-12 11:30:54 +03:00
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "638556180%2FProperties%2F244675578" > < / span >
2023-04-09 11:31:42 +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" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":kmath-core:dokkaHtmlPartial/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > abstract < / span > < span class = "token keyword" > override < / 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 > < / div > < div class = "brief " > < p class = "paragraph" > The size of this buffer.< / p > < / div > < / div > < / div >
2021-10-13 15:08:46 +03:00
< / div >
< / div >
2021-03-12 21:24:01 +03:00
< / div >
< / div >
< / div >
< / div >
< / div >
2023-04-09 11:31:42 +03:00
< / div >
< / div >
< div class = "footer" >
< span class = "go-to-top-icon" > < a href = "#content" id = "go-to-top-link" > < / a > < / span > < span > © 2023 Copyright< / span > < span class = "pull-right" > < span > Generated by < / span > < a href = "https://github.com/Kotlin/dokka" > < span > dokka< / span > < span class = "padded-icon" > < / span > < / a > < / span >
< / div >
< / div >
< / div >
< / body >
< / html >
2021-03-12 21:24:01 +03:00