<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">abstract </span><spanclass="token keyword">class </span><ahref="index.html">Unary</a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter "><spanclass="token keyword">val </span>operations<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html">Collection</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token operator">></span><spanclass="token operator">?</span></span></span><spanclass="token punctuation">)</span> : <ahref="../-featured-math-renderer/-render-feature/index.html">FeaturedMathRenderer.RenderFeature</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-ast/src/commonMain/kotlin/space/kscience/kmath/ast/rendering/features.kt#L157">source</a>)</span></span></div><pclass="paragraph">Abstract printing of unary operations that discards <ahref="../../../kmath-core/space.kscience.kmath.expressions/-m-s-t/index.html">MST</a> if their operation is not in <ahref="operations.html">operations</a> or its type is not <ahref="../../../kmath-core/space.kscience.kmath.expressions/-m-s-t/-unary/index.html">MST.Unary</a>.</p><spanclass="kdoc-tag"><h4class="">Author</h4><pclass="paragraph">Iaroslav Postovalov</p></span><h4class="">Parameters</h4><divclass="table"><divclass="table-row"data-filterable-current=":kmath-ast:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-ast:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><u><span><span>operations</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">the allowed operations. If <codeclass="lang-kotlin">null</code>, any operation is accepted.</p></div></div></div></div></div><h4class="">Inheritors</h4><divclass="table"><divclass="table-row"data-filterable-current=":kmath-ast:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-ast:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-unary-plus/index.html">UnaryPlus</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":kmath-ast:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-ast:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-unary-minus/index.html">UnaryMinus</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":kmath-ast:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-ast:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-unary-operator/index.html">UnaryOperator</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":kmath-ast:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-ast:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-square-root/index.html">SquareRoot</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":kmath-ast:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-ast:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-exponent/index.html">Exponent</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":kmath-ast:dokkaHtmlPartial/commonMain"data-filterable-set=":kmath-ast:dokkaHtmlPartial/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="i