<divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword">override </span><spanclass="token keyword">fun </span><ahref="binary-operation-function.html"><spanclass="token function">binaryOperationFunction</span></a><spanclass="token punctuation">(</span>operation<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spanclass="token punctuation">(</span><spanclass="token keyword"></span>left<spanclass="token operator">: </span><ahref="../-expression/index.html">Expression</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">, </span><spanclass="token keyword"></span>right<spanclass="token operator">: </span><ahref="../-expression/index.html">Expression</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><spanclass="token keyword"></span><ahref="../-expression/index.html">Expression</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">Dynamically dispatches a binary operation with the certain name.</p><pclass="paragraph">Implementations must fulfil the following requirements:</p><ol><li><pclass="paragraph">If operation is not defined in the structure, then the function throws <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-state-exception/index.html">kotlin.IllegalStateException</a>.</p></li><li><pclass="paragraph">Equivalence to <ahref="../../../kmath-core/space.kscience.kmath.expressions/-functional-expression-algebra/binary-operation.html">binaryOperation</a>: for any <codeclass="lang-kotlin">a</code>, <codeclass="lang-kotlin">b</code>, and <codeclass="lang-kotlin">c</code>, <codeclass="lang-kotlin">binaryOperationFunction(a)(b, c) == binaryOperation(a, b, c)</code>.</p></li></ol><h4class="">Return</h4><pclass="paragraph">an operation.</p><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><span><span>operation</span></span></div></span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the name of operation.</p></div></div></div></div></div></div></div></div></div>