<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace">open override fun <ahref="binary-operation-function.html">binaryOperationFunction</a>(operation: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): (left: <ahref="../../space.kscience.kmath.structures/-buffer/index.html">Buffer</a><<ahref="index.html">T</a>>, right: <ahref="../../space.kscience.kmath.structures/-buffer/index.html">Buffer</a><<ahref="index.html">T</a>>) -><ahref="../../space.kscience.kmath.structures/-buffer/index.html">Buffer</a><<ahref="index.html">T</a>><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></div></div>
</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.operations/-buffer-algebra/binary-operation.html">binaryOperation</a>: for any <code>a</code>, <code>b</code>, and <code>c</code>, <code>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="platform-hinted WithExtraAttributes"data-platform-hinted="data-platform-hinted"data-togglable="Parameters"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><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">operation</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">the name of operation.</p></div></div></div></div></div></div></div></div></div></div></div>