kmath/kmath-tensors/space.kscience.kmath.tensors.api/-tensor-algebra/index.html

566 lines
83 KiB
HTML
Raw Normal View History

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>TensorAlgebra</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.api/TensorAlgebra///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.api</a>/<a href="index.html">TensorAlgebra</a></div>
<div class="pull-right d-flex">
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>Tensor</span><wbr><span>Algebra</span></h1>
<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">interface <a href="index.html">TensorAlgebra</a>&lt;<a href="index.html">T</a>&gt; : <a href="../../../kmath-core/space.kscience.kmath.operations/-algebra/index.html">Algebra</a>&lt;<a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;&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><p class="paragraph">Algebra over a ring on <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>. For more information: https://proofwiki.org/wiki/Definition:Algebra_over_Ring</p></div></div>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Parameters">Parameters</button><button class="section-tab" data-togglable="Sources">Sources</button><button class="section-tab" data-togglable="Inheritors">Inheritors</button></div>
<div class="tabs-section-body">
<h2 class="">Parameters</h2>
<div data-togglable="Parameters">
<div class="platform-hinted WithExtraAttributes" data-platform-hinted="data-platform-hinted" data-togglable="Parameters"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex">T</span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">the type of items in the tensors.</p></div></div></div></div></div></div></div></div></div>
</div>
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="43754055%2FFunctions%2F-1345790395" anchor-label="argMax" id="43754055%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="arg-max.html">argMax</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="43754055%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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="arg-max.html">argMax</a>(dim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, keepDim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="43754055%2FFunctions%2F-1345790395" anchor-label="argMax" id="43754055%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="43754055%2FFunctions%2F-1345790395" anchor-label="argMax" id="43754055%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns the index of maximum value of each row of the input tensor in the given dimension <a href="arg-max.html">dim</a>.</div></div>
</div>
</div>
</div>
</div>
<a data-name="1915267919%2FFunctions%2F-1345790395" anchor-label="binaryOperation" id="1915267919%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="../-tensor-partial-division-algebra/index.html#1915267919%2FFunctions%2F-1345790395">binaryOperation</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1915267919%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">open fun <a href="../-tensor-partial-division-algebra/index.html#1915267919%2FFunctions%2F-1345790395">binaryOperation</a>(operation: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, left: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;, right: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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>
</div>
</div>
</div>
</div>
</div>
<a data-name="2100605251%2FFunctions%2F-1345790395" anchor-label="binaryOperationFunction" id="2100605251%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="../../space.kscience.kmath.tensors.core/-double-tensor-algebra/-companion/index.html#2100605251%2FFunctions%2F-1345790395">binaryOperationFunction</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2100605251%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">open fun <a href="../../space.kscience.kmath.tensors.core/-double-tensor-algebra/-companion/index.html#2100605251%2FFunctions%2F-1345790395">binaryOperationFunction</a>(operation: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): (<a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;, <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;) -&gt; <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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>
</div>
</div>
</div>
</div>
</div>
<a data-name="-1727912674%2FFunctions%2F-1345790395" anchor-label="bindSymbol" id="-1727912674%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="../../space.kscience.kmath.tensors.core/-double-tensor-algebra/-companion/index.html#-1727912674%2FFunctions%2F-1345790395">bindSymbol</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1727912674%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">open fun <a href="../../space.kscience.kmath.tensors.core/-double-tensor-algebra/-companion/index.html#-1727912674%2FFunctions%2F-1345790395">bindSymbol</a>(value: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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>
</div>
</div>
</div>
</div>
</div>
<a data-name="915741320%2FFunctions%2F-1345790395" anchor-label="bindSymbolOrNull" id="915741320%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="../../space.kscience.kmath.tensors.core/-double-tensor-algebra/-companion/index.html#915741320%2FFunctions%2F-1345790395">bindSymbolOrNull</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="915741320%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">open fun <a href="../../space.kscience.kmath.tensors.core/-double-tensor-algebra/-companion/index.html#915741320%2FFunctions%2F-1345790395">bindSymbolOrNull</a>(value: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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>
</div>
</div>
</div>
</div>
</div>
<a data-name="-1962407704%2FFunctions%2F-1345790395" anchor-label="diagonalEmbedding" id="-1962407704%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="diagonal-embedding.html">diagonalEmbedding</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1962407704%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">abstract fun <a href="diagonal-embedding.html">diagonalEmbedding</a>(diagonalEntries: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;, offset: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = 0, dim1: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = -2, dim2: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = -1): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-1962407704%2FFunctions%2F-1345790395" anchor-label="diagonalEmbedding" id="-1962407704%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1962407704%2FFunctions%2F-1345790395" anchor-label="diagonalEmbedding" id="-1962407704%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Creates a tensor whose diagonals of certain 2D planes (specified by <a href="diagonal-embedding.html">dim1</a> and <a href="diagonal-embedding.html">dim2</a>) are filled by <a href="diagonal-embedding.html">diagonalEntries</a>.</div></div>
</div>
</div>
</div>
</div>
<a data-name="1622973833%2FFunctions%2F-1345790395" anchor-label="dot" id="1622973833%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="dot.html">dot</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1622973833%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">abstract infix fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="dot.html">dot</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="1622973833%2FFunctions%2F-1345790395" anchor-label="dot" id="1622973833%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1622973833%2FFunctions%2F-1345790395" anchor-label="dot" id="1622973833%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Matrix product of two tensors.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-2139809213%2FFunctions%2F-1345790395" anchor-label="get" id="-2139809213%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="get.html">get</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2139809213%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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="get.html">get</a>(i: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-2139809213%2FFunctions%2F-1345790395" anchor-label="get" id="-2139809213%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-2139809213%2FFunctions%2F-1345790395" anchor-label="get" id="-2139809213%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns the tensor at index i For more information: https://pytorch.org/cppdocs/notes/tensor_indexing.</div></div>
</div>
</div>
</div>
</div>
<a data-name="2039513612%2FFunctions%2F-1345790395" anchor-label="max" id="2039513612%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="max.html">max</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2039513612%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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="max.html">max</a>(): <a href="index.html">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="62321139%2FFunctions%2F-1345790395" anchor-label="max" id="62321139%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="62321139%2FFunctions%2F-1345790395" anchor-label="max" id="62321139%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns the maximum value of all elements in the input tensor.</div></div>
<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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="max.html">max</a>(dim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, keepDim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="973111187%2FFunctions%2F-1345790395" anchor-label="max" id="973111187%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="973111187%2FFunctions%2F-1345790395" anchor-label="max" id="973111187%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns the maximum value of each row of the input tensor in the given dimension <a href="max.html">dim</a>.</div></div>
</div>
</div>
</div>
</div>
<a data-name="1807349680%2FFunctions%2F-1345790395" anchor-label="min" id="1807349680%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="min.html">min</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1807349680%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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="min.html">min</a>(): <a href="index.html">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
<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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="min.html">min</a>(dim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, keepDim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="1383380325%2FFunctions%2F-1345790395" anchor-label="min" id="1383380325%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1383380325%2FFunctions%2F-1345790395" anchor-label="min" id="1383380325%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns the minimum value of each row of the input tensor in the given dimension <a href="min.html">dim</a>.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-232732318%2FFunctions%2F-1345790395" anchor-label="minus" id="-232732318%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="minus.html">minus</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-232732318%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">abstract operator fun <a href="index.html">T</a>.<a href="minus.html">minus</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="1212778591%2FFunctions%2F-1345790395" anchor-label="minus" id="1212778591%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1212778591%2FFunctions%2F-1345790395" anchor-label="minus" id="1212778591%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Each element of the tensor <a href="minus.html">other</a> is subtracted from this value.</div></div>
<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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="minus.html">minus</a>(value: <a href="index.html">T</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="703262431%2FFunctions%2F-1345790395" anchor-label="minus" id="703262431%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="703262431%2FFunctions%2F-1345790395" anchor-label="minus" id="703262431%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Subtracts the scalar <a href="minus.html">value</a> from each element of this tensor and returns a new resulting tensor.</div></div>
<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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="minus.html">minus</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="1482064706%2FFunctions%2F-1345790395" anchor-label="minus" id="1482064706%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1482064706%2FFunctions%2F-1345790395" anchor-label="minus" id="1482064706%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Each element of the tensor <a href="minus.html">other</a> is subtracted from each element of this tensor.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-176972305%2FFunctions%2F-1345790395" anchor-label="minusAssign" id="-176972305%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="minus-assign.html">minusAssign</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-176972305%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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="minus-assign.html">minusAssign</a>(value: <a href="index.html">T</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="1564878512%2FFunctions%2F-1345790395" anchor-label="minusAssign" id="1564878512%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1564878512%2FFunctions%2F-1345790395" anchor-label="minusAssign" id="1564878512%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Subtracts the scalar <a href="minus-assign.html">value</a> from each element of this tensor.</div></div>
<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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="minus-assign.html">minusAssign</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-163969645%2FFunctions%2F-1345790395" anchor-label="minusAssign" id="-163969645%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-163969645%2FFunctions%2F-1345790395" anchor-label="minusAssign" id="-163969645%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Each element of the tensor <a href="minus-assign.html">other</a> is subtracted from each element of this tensor.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-447427996%2FFunctions%2F-1345790395" anchor-label="plus" id="-447427996%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="plus.html">plus</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-447427996%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">abstract operator fun <a href="index.html">T</a>.<a href="plus.html">plus</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-2132025165%2FFunctions%2F-1345790395" anchor-label="plus" id="-2132025165%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-2132025165%2FFunctions%2F-1345790395" anchor-label="plus" id="-2132025165%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Each element of the tensor <a href="plus.html">other</a> is added to this value.</div></div>
<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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="plus.html">plus</a>(value: <a href="index.html">T</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="1653425971%2FFunctions%2F-1345790395" anchor-label="plus" id="1653425971%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1653425971%2FFunctions%2F-1345790395" anchor-label="plus" id="1653425971%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Adds the scalar <a href="plus.html">value</a> to each element of this tensor and returns a new resulting tensor.</div></div>
<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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="plus.html">plus</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-1516982890%2FFunctions%2F-1345790395" anchor-label="plus" id="-1516982890%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1516982890%2FFunctions%2F-1345790395" anchor-label="plus" id="-1516982890%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Each element of the tensor <a href="plus.html">other</a> is added to each element of this tensor.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-55374497%2FFunctions%2F-1345790395" anchor-label="plusAssign" id="-55374497%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="plus-assign.html">plusAssign</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-55374497%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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="plus-assign.html">plusAssign</a>(value: <a href="index.html">T</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-1806569468%2FFunctions%2F-1345790395" anchor-label="plusAssign" id="-1806569468%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1806569468%2FFunctions%2F-1345790395" anchor-label="plusAssign" id="-1806569468%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Adds the scalar <a href="plus-assign.html">value</a> to each element of this tensor.</div></div>
<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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="plus-assign.html">plusAssign</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-29613849%2FFunctions%2F-1345790395" anchor-label="plusAssign" id="-29613849%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-29613849%2FFunctions%2F-1345790395" anchor-label="plusAssign" id="-29613849%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Each element of the tensor <a href="plus-assign.html">other</a> is added to each element of this tensor.</div></div>
</div>
</div>
</div>
</div>
<a data-name="115804158%2FFunctions%2F-1345790395" anchor-label="sum" id="115804158%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="sum.html">sum</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="115804158%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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="sum.html">sum</a>(): <a href="index.html">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
<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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="sum.html">sum</a>(dim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>, keepDim: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="1531828236%2FFunctions%2F-1345790395" anchor-label="sum" id="1531828236%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1531828236%2FFunctions%2F-1345790395" anchor-label="sum" id="1531828236%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns the sum of each row of the input tensor in the given dimension <a href="sum.html">dim</a>.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-953823092%2FFunctions%2F-1345790395" anchor-label="times" id="-953823092%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="times.html">times</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-953823092%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">abstract operator fun <a href="index.html">T</a>.<a href="times.html">times</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="576377289%2FFunctions%2F-1345790395" anchor-label="times" id="576377289%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="576377289%2FFunctions%2F-1345790395" anchor-label="times" id="576377289%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Each element of the tensor <a href="times.html">other</a> is multiplied by this value.</div></div>
<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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="times.html">times</a>(value: <a href="index.html">T</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="66861129%2FFunctions%2F-1345790395" anchor-label="times" id="66861129%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="66861129%2FFunctions%2F-1345790395" anchor-label="times" id="66861129%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Multiplies the scalar <a href="times.html">value</a> by each element of this tensor and returns a new resulting tensor.</div></div>
<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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="times.html">times</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-85011028%2FFunctions%2F-1345790395" anchor-label="times" id="-85011028%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-85011028%2FFunctions%2F-1345790395" anchor-label="times" id="-85011028%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Each element of the tensor <a href="times.html">other</a> is multiplied by each element of this tensor.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-666203985%2FFunctions%2F-1345790395" anchor-label="timesAssign" id="-666203985%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="times-assign.html">timesAssign</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-666203985%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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="times-assign.html">timesAssign</a>(value: <a href="index.html">T</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="886126746%2FFunctions%2F-1345790395" anchor-label="timesAssign" id="886126746%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="886126746%2FFunctions%2F-1345790395" anchor-label="timesAssign" id="886126746%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Multiplies the scalar <a href="times-assign.html">value</a> by each element of this tensor.</div></div>
<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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="times-assign.html">timesAssign</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-316579715%2FFunctions%2F-1345790395" anchor-label="timesAssign" id="-316579715%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-316579715%2FFunctions%2F-1345790395" anchor-label="timesAssign" id="-316579715%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Each element of the tensor <a href="times-assign.html">other</a> is multiplied by each element of this tensor.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-1392088073%2FFunctions%2F-1345790395" anchor-label="transpose" id="-1392088073%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="transpose.html">transpose</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1392088073%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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="transpose.html">transpose</a>(i: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = -2, j: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a> = -1): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-1392088073%2FFunctions%2F-1345790395" anchor-label="transpose" id="-1392088073%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1392088073%2FFunctions%2F-1345790395" anchor-label="transpose" id="-1392088073%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns a tensor that is a transposed version of this tensor.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-1193537518%2FFunctions%2F-1345790395" anchor-label="unaryMinus" id="-1193537518%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="unary-minus.html">unaryMinus</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1193537518%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">abstract operator fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="unary-minus.html">unaryMinus</a>(): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-1193537518%2FFunctions%2F-1345790395" anchor-label="unaryMinus" id="-1193537518%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1193537518%2FFunctions%2F-1345790395" anchor-label="unaryMinus" id="-1193537518%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Numerical negative, element-wise.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-1655627485%2FFunctions%2F-1345790395" anchor-label="unaryOperation" id="-1655627485%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="../-tensor-partial-division-algebra/index.html#-1655627485%2FFunctions%2F-1345790395">unaryOperation</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1655627485%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">open fun <a href="../-tensor-partial-division-algebra/index.html#-1655627485%2FFunctions%2F-1345790395">unaryOperation</a>(operation: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, arg: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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>
</div>
</div>
</div>
</div>
</div>
<a data-name="577358489%2FFunctions%2F-1345790395" anchor-label="unaryOperationFunction" id="577358489%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="../../space.kscience.kmath.tensors.core/-double-tensor-algebra/-companion/index.html#577358489%2FFunctions%2F-1345790395">unaryOperationFunction</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="577358489%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">open fun <a href="../../space.kscience.kmath.tensors.core/-double-tensor-algebra/-companion/index.html#577358489%2FFunctions%2F-1345790395">unaryOperationFunction</a>(operation: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): (<a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;) -&gt; <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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>
</div>
</div>
</div>
</div>
</div>
<a data-name="-1916601408%2FFunctions%2F-1345790395" anchor-label="value" id="-1916601408%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="value.html">value</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1916601408%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">open fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="value.html">value</a>(): <a href="index.html">T</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-1916601408%2FFunctions%2F-1345790395" anchor-label="value" id="-1916601408%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1916601408%2FFunctions%2F-1345790395" anchor-label="value" id="-1916601408%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns a single tensor value of unit dimension.</div></div>
</div>
</div>
</div>
</div>
<a data-name="2121541866%2FFunctions%2F-1345790395" anchor-label="valueOrNull" id="2121541866%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="value-or-null.html">valueOrNull</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2121541866%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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="value-or-null.html">valueOrNull</a>(): <a href="index.html">T</a>?<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="2121541866%2FFunctions%2F-1345790395" anchor-label="valueOrNull" id="2121541866%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="2121541866%2FFunctions%2F-1345790395" anchor-label="valueOrNull" id="2121541866%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns a single tensor value of unit dimension if tensor shape equals to 1.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-1707879275%2FFunctions%2F-1345790395" anchor-label="view" id="-1707879275%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="view.html">view</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1707879275%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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="view.html">view</a>(shape: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html">IntArray</a>): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="-1707879275%2FFunctions%2F-1345790395" anchor-label="view" id="-1707879275%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1707879275%2FFunctions%2F-1345790395" anchor-label="view" id="-1707879275%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>Returns a new tensor with the same data as the self tensor but of a different shape.</div></div>
</div>
</div>
</div>
</div>
<a data-name="1406606361%2FFunctions%2F-1345790395" anchor-label="viewAs" id="1406606361%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="view-as.html">viewAs</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1406606361%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">abstract fun <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;.<a href="view-as.html">viewAs</a>(other: <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="index.html">T</a>&gt;): <a href="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a>&lt;<a href="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="1406606361%2FFunctions%2F-1345790395" anchor-label="viewAs" id="1406606361%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1406606361%2FFunctions%2F-1345790395" anchor-label="viewAs" id="1406606361%2FFunctions%2F-1345790395" data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"></a>View this tensor as the same size as <a href="view-as.html">other</a>.</div></div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Inheritors</h2>
<div class="table" data-togglable="Inheritors"><a data-name="-122103507%2FInheritors%2F-1345790395" anchor-label="TensorPartialDivisionAlgebra" id="-122103507%2FInheritors%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-partial-division-algebra/index.html">TensorPartialDivisionAlgebra</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-122103507%2FInheritors%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>
</div>
</div>
</div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="2144406291%2FSource%2F-1345790395" anchor-label="https://github.com/mipt-npm/kmath/tree/master/kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/api/TensorAlgebra.kt#L10" id="2144406291%2FSource%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="https://github.com/mipt-npm/kmath/tree/master/kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/api/TensorAlgebra.kt#L10">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2144406291%2FSource%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>
</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>