<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-ast:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="evaluate-constants.html">T</a><spanclass="token operator">></span><ahref="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a><spanclass="token punctuation">.</span><ahref="evaluate-constants.html"><spanclass="token function">evaluateConstants</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">algebra<spanclass="token operator">: </span><ahref="../../kmath-core/space.kscience.kmath.operations/-algebra/index.html">Algebra</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="evaluate-constants.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="-typed-mst/index.html">TypedMst</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="evaluate-constants.html">T</a><spanclass="token operator">></span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-ast/src/commonMain/kotlin/space/kscience/kmath/ast/evaluateConstants.kt#L17">source</a>)</span></span></div><pclass="paragraph">Evaluates constants in given <ahref="../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a> for given <ahref="evaluate-constants.html">algebra</a> at the same time with converting to <ahref="-typed-mst/index.html">TypedMst</a>.</p></div></div>