<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="put-right.html"><spanclass="token function">putRight</span></a><spanclass="token punctuation">(</span>right<spanclass="token operator">: </span><ahref="index.html">T</a><spanclass="token punctuation">, </span>piece<spanclass="token operator">: </span><ahref="../-polynomial/index.html">Polynomial</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">)</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">Dynamically adds a piece to the right side (beyond maximum argument value of previous piece)</p><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><span><span>right</span></span></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">new rightmost position. If is less than current rightmost position, an error is thrown.</p></div></div></div></div></div><divclass="table-row"data-filterable-current=":kmath-functions:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-functions:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><span><span>piece</span></span></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the sub-function.</p></div></div></div></div></div></div></div></div></div>