kmath/kmath-tensors/space.kscience.kmath.tensors.core/index.html

246 lines
32 KiB
HTML
Raw Normal View History

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>space.kscience.kmath.tensors.core</title>
</head><body><link href="../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script><script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.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" async></script>
<div id="container">
<div id="leftColumn"><a href="../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<script type="text/javascript" src="../../scripts/main.js"></script><div id="leftToggler"><span class="icon-toggler"></span></div>
<div class="main-content" id="content" pageids="kmath-tensors::space.kscience.kmath.tensors.core////PointingToDeclaration//-1345790395">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../index.html">kmath-tensors</a>/<a href="index.html">space.kscience.kmath.tensors.core</a></div>
<div class="pull-right d-flex">
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>Package space.</span><wbr><span>kscience.</span><wbr><span>kmath.</span><wbr><span>tensors.</span><wbr><span>core</span></h1>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Properties">Properties</button></div>
<div class="tabs-section-body">
<h2 class="">Types</h2>
<div class="table" data-togglable="Types"><a data-name="-917530272%2FClasslikes%2F-1345790395" anchor-label="BroadcastDoubleTensorAlgebra" id="-917530272%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-broadcast-double-tensor-algebra/index.html">BroadcastDoubleTensorAlgebra</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-917530272%2FClasslikes%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace">object <a href="-broadcast-double-tensor-algebra/index.html">BroadcastDoubleTensorAlgebra</a> : <a href="-double-tensor-algebra/index.html">DoubleTensorAlgebra</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-917530272%2FClasslikes%2F-1345790395" anchor-label="BroadcastDoubleTensorAlgebra" id="-917530272%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-917530272%2FClasslikes%2F-1345790395" anchor-label="BroadcastDoubleTensorAlgebra" id="-917530272%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Basic linear algebra operations implemented with broadcasting.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-1266582939%2FClasslikes%2F-1345790395" anchor-label="BufferedTensor" id="-1266582939%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-buffered-tensor/index.html">BufferedTensor</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1266582939%2FClasslikes%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace">open class <a href="-buffered-tensor/index.html">BufferedTensor</a>&lt;<a href="-buffered-tensor/index.html">T</a>&gt; : <a href="../../kmath-core/space.kscience.kmath.nd/-mutable-structure-n-d/index.html">MutableStructureND</a>&lt;<a href="-buffered-tensor/index.html">T</a>&gt; <span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-1266582939%2FClasslikes%2F-1345790395" anchor-label="BufferedTensor" id="-1266582939%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1266582939%2FClasslikes%2F-1345790395" anchor-label="BufferedTensor" id="-1266582939%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Represents <a href="../space.kscience.kmath.tensors.api/index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a> over a <a href="../../kmath-core/space.kscience.kmath.structures/-mutable-buffer/index.html">MutableBuffer</a> intended to be used through <a href="-double-tensor/index.html">DoubleTensor</a> and <a href="-int-tensor/index.html">IntTensor</a></div></div>
</div>
</div>
</div>
</div>
<a data-name="666375219%2FClasslikes%2F-1345790395" anchor-label="DoubleTensor" id="666375219%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-double-tensor/index.html">DoubleTensor</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="666375219%2FClasslikes%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace">class <a href="-double-tensor/index.html">DoubleTensor</a> : <a href="-buffered-tensor/index.html">BufferedTensor</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>&gt; <span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="666375219%2FClasslikes%2F-1345790395" anchor-label="DoubleTensor" id="666375219%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="666375219%2FClasslikes%2F-1345790395" anchor-label="DoubleTensor" id="666375219%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Default <a href="-buffered-tensor/index.html">BufferedTensor</a> implementation for <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a> values</div></div>
</div>
</div>
</div>
</div>
<a data-name="-596189209%2FClasslikes%2F-1345790395" anchor-label="DoubleTensorAlgebra" id="-596189209%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-double-tensor-algebra/index.html">DoubleTensorAlgebra</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-596189209%2FClasslikes%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace">open class <a href="-double-tensor-algebra/index.html">DoubleTensorAlgebra</a> : <a href="../space.kscience.kmath.tensors.api/-tensor-partial-division-algebra/index.html">TensorPartialDivisionAlgebra</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>&gt; , <a href="../space.kscience.kmath.tensors.api/-analytic-tensor-algebra/index.html">AnalyticTensorAlgebra</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>&gt; , <a href="../space.kscience.kmath.tensors.api/-linear-ops-tensor-algebra/index.html">LinearOpsTensorAlgebra</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>&gt; <span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-596189209%2FClasslikes%2F-1345790395" anchor-label="DoubleTensorAlgebra" id="-596189209%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-596189209%2FClasslikes%2F-1345790395" anchor-label="DoubleTensorAlgebra" id="-596189209%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Implementation of basic operations over double tensors and basic algebra operations on them.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-862489795%2FClasslikes%2F-1345790395" anchor-label="IntTensor" id="-862489795%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-int-tensor/index.html">IntTensor</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-862489795%2FClasslikes%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace">class <a href="-int-tensor/index.html">IntTensor</a> : <a href="-buffered-tensor/index.html">BufferedTensor</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>&gt; <span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-862489795%2FClasslikes%2F-1345790395" anchor-label="IntTensor" id="-862489795%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-862489795%2FClasslikes%2F-1345790395" anchor-label="IntTensor" id="-862489795%2FClasslikes%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Default <a href="-buffered-tensor/index.html">BufferedTensor</a> implementation for <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> values</div></div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="-80044231%2FFunctions%2F-1345790395" anchor-label="ones" id="-80044231%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="ones.html">ones</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-80044231%2FFunctions%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-double-tensor-algebra/index.html">DoubleTensorAlgebra</a>.<a href="ones.html">ones</a>(vararg shape: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>): <a href="-double-tensor/index.html">DoubleTensor</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="667387048%2FFunctions%2F-1345790395" anchor-label="toDoubleArray" id="667387048%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="to-double-array.html">toDoubleArray</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="667387048%2FFunctions%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-double-tensor/index.html">DoubleTensor</a>.<a href="to-double-array.html">toDoubleArray</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double-array/index.html">DoubleArray</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="667387048%2FFunctions%2F-1345790395" anchor-label="toDoubleArray" id="667387048%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="667387048%2FFunctions%2F-1345790395" anchor-label="toDoubleArray" id="667387048%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double-array/index.html">DoubleArray</a> of tensor elements</div></div>
</div>
</div>
</div>
</div>
<a data-name="-1825815162%2FFunctions%2F-1345790395" anchor-label="toDoubleTensor" id="-1825815162%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="to-double-tensor.html">toDoubleTensor</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1825815162%2FFunctions%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="../space.kscience.kmath.tensors.api/index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>&gt;.<a href="to-double-tensor.html">toDoubleTensor</a>(): <a href="-double-tensor/index.html">DoubleTensor</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-1825815162%2FFunctions%2F-1345790395" anchor-label="toDoubleTensor" id="-1825815162%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1825815162%2FFunctions%2F-1345790395" anchor-label="toDoubleTensor" id="-1825815162%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Casts <a href="../space.kscience.kmath.tensors.api/index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a> of <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a> to <a href="-double-tensor/index.html">DoubleTensor</a></div></div>
</div>
</div>
</div>
</div>
<a data-name="-959048332%2FFunctions%2F-1345790395" anchor-label="toIntArray" id="-959048332%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="to-int-array.html">toIntArray</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-959048332%2FFunctions%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-int-tensor/index.html">IntTensor</a>.<a href="to-int-array.html">toIntArray</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html">IntArray</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-959048332%2FFunctions%2F-1345790395" anchor-label="toIntArray" id="-959048332%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-959048332%2FFunctions%2F-1345790395" anchor-label="toIntArray" id="-959048332%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html">IntArray</a> of tensor elements</div></div>
</div>
</div>
</div>
</div>
<a data-name="-826744482%2FFunctions%2F-1345790395" anchor-label="toIntTensor" id="-826744482%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="to-int-tensor.html">toIntTensor</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-826744482%2FFunctions%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="../space.kscience.kmath.tensors.api/index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>&gt;.<a href="to-int-tensor.html">toIntTensor</a>(): <a href="-int-tensor/index.html">IntTensor</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-826744482%2FFunctions%2F-1345790395" anchor-label="toIntTensor" id="-826744482%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-826744482%2FFunctions%2F-1345790395" anchor-label="toIntTensor" id="-826744482%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Casts <a href="../space.kscience.kmath.tensors.api/index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a> of <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> to <a href="-int-tensor/index.html">IntTensor</a></div></div>
</div>
</div>
</div>
</div>
<a data-name="1669981028%2FFunctions%2F-1345790395" anchor-label="withBroadcast" id="1669981028%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="with-broadcast.html">withBroadcast</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1669981028%2FFunctions%2F-1345790395"></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="divergent-group" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block">@<a href="../../kmath-core/space.kscience.kmath.misc/-unstable-k-math-a-p-i/index.html">UnstableKMathAPI</a>()</div></div>fun &lt;<a href="with-broadcast.html">R</a>&gt; <a href="-double-tensor-algebra/index.html">DoubleTensorAlgebra</a>.<a href="with-broadcast.html">withBroadcast</a>(block: <a href="-broadcast-double-tensor-algebra/index.html">BroadcastDoubleTensorAlgebra</a>.() -&gt; <a href="with-broadcast.html">R</a>): <a href="with-broadcast.html">R</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="1669981028%2FFunctions%2F-1345790395" anchor-label="withBroadcast" id="1669981028%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1669981028%2FFunctions%2F-1345790395" anchor-label="withBroadcast" id="1669981028%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Compute a value using broadcast double tensor algebra</div></div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Properties</h2>
<div class="table" data-togglable="Properties"><a data-name="107279055%2FProperties%2F-1345790395" anchor-label="tensorAlgebra" id="107279055%2FProperties%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="tensor-algebra.html">tensorAlgebra</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="107279055%2FProperties%2F-1345790395"></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" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><a data-name="107279055%2FProperties%2F-1345790395" anchor-label="tensorAlgebra" id="107279055%2FProperties%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="symbol monospace">val <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double.Companion</a>.<a href="tensor-algebra.html">tensorAlgebra</a>: <a href="-double-tensor-algebra/-companion/index.html">DoubleTensorAlgebra.Companion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 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>