<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"><divclass="block"><divclass="block"><spanclass="token annotation builtin">@</span><ahref="../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html"><spanclass="token annotation builtin">UnstableKMathAPI</span></a></div></div><spanclass="token keyword">inline </span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="compute-feature.html">T</a><spanclass="token operator"> : </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="compute-feature.html">F</a><spanclass="token operator"> : </span><ahref="../space.kscience.kmath.nd/-structure-feature/index.html">StructureFeature</a><spanclass="token operator">></span><ahref="-linear-space/index.html">LinearSpace</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="compute-feature.html">T</a><spanclass="token punctuation">, </span><spanclass="token operator">*</span><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="compute-feature.html"><spanclass="token function">computeFeature</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">structure<spanclass="token operator">: </span><ahref="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="compute-feature.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="compute-feature.html">F</a><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/linear/LinearSpace.kt#L201">source</a>)</span></span></div><pclass="paragraph">Get a feature of the structure in this scope. Structure features take precedence other context features.</p><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">a feature object or <codeclass="lang-kotlin">null</code> if it isn't present.</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>T</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">the type of items in the matrices.</p></div></div></div></div><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>F</span></span></u></div></span></div><div><divclass="title"><pclass="paragraph">the type of feature.</p></div></div></div></div></div></div></div>