<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-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="minus.html"><spanclass="token function">minus</span></a><spanclass="token punctuation">(</span>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><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="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><pclass="paragraph">Each element of the tensor <ahref="minus.html">arg</a> is subtracted from this value. The resulting tensor is returned.</p><h4class="">Return</h4><pclass="paragraph">the difference between this value and tensor <ahref="minus.html">arg</a>.</p><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><span><span>arg</span></span></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">tensor to be subtracted.</p></div></div></div></div></div></div></div><br><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="minus.html"><spanclass="token function">minus</span></a><spanclass="token punctuation">(</span>arg<spanclass="token operator">: </span><ahref="index.html">T</a><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="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><pclass="paragraph">Subtracts the scalar <ahref="minus.html">arg</a> from each element of this tensor and returns a new resulting tensor.</p><h4class="">Return</h4><pclass="paragraph">the difference between this tensor and <ahref="minus.html">arg</a>.</p><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":kmath-tensors:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-tensors:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><span><span>arg</span></span></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the number to be subtracted from each element of this tensor.</p></div></div></d