<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-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="bind-symbol-or-null.html"><spanclass="token function">bindSymbolOrNull</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">value<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="../-auto-diff-value/index.html">AutoDiffValue</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><spanclass="token operator">?</span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-core/src/commonMain/kotlin/space/kscience/kmath/expressions/SimpleAutoDiff.kt#L92">source</a>)</span></span></div><pclass="paragraph">Wraps a raw string to <ahref="index.html">T</a> object. This method is designed for three purposes:</p><ol><li><pclass="paragraph">Mathematical constants (<codeclass="lang-kotlin">e</code>, <codeclass="lang-kotlin">pi</code>).</p></li><li><pclass="paragraph">Variables for expression-like contexts (<codeclass="lang-kotlin">a</code>, <codeclass="lang-kotlin">b</code>, <codeclass="lang-kotlin">c</code>…).</p></li><li><pclass="paragraph">Literals (<codeclass="lang-kotlin">{1, 2}</code>, (<codeclass="lang-kotlin">(3; 4)</code>)).</p></li></ol><pclass="paragraph">If algebra can't parse the string, then this method must throw <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-state-exception/index.html">kotlin.IllegalStateException</a>.</p><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">an object or <codeclass="lang-kotlin">null</code> if symbol could not be bound to the context.</p></span><h4class="">Parameters</h4><divclass="table"><divclass="table-row"data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>value</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">the raw string.</p></div></div></div></div></div></div></div>