<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword">operator override </span><spanclass="token keyword">fun </span><ahref="index.html">T</a><spanclass="token punctuation">.</span><ahref="times.html"><spanclass="token function">times</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">arg<spanclass="token operator">: </span><ahref="../../../kmath-core/space.kscience.kmath.nd/-structure-n-d/index.html">StructureND</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/api/TensorAlgebra.kt#L123">source</a>)</span></span></div><pclass="paragraph">Each element of the tensor <ahref="times.html">arg</a> is multiplied by this value. The resulting tensor is returned.</p><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">the product of this value and tensor <ahref="times.html">arg</a>.</p></span><h4class="">Parameters</h4><divclass="table"><divclass="table-row"data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>arg</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">tensor to be multiplied.</p></div></div></div></div></div><hr><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword">operator override </span><spanclass="token keyword">fun </span><ahref="../../../kmath-core/space.kscience.kmath.nd/-structure-n-d/index.html">StructureND</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="times.html"><spanclass="token function">times</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">arg<spanclass="token operator">: </span><ahref="index.html">T</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/api/TensorAlgebra.kt#L131">source</a>)</span></span></div><pclass="paragraph">Multiplies the scalar <ahref="times.html">arg</a> by each element of this tensor and returns a new resulting tensor.</p><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">the product of this tensor and <ahref="times.html">arg</a>.</p></span><h4class="">Parameters</h4><divclass="table"><divclass="table-row"data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>arg</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">the number to be multiplied by each element of this tensor.</p></div></div></div