<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-tensors:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="../../../kmath-core/space.kscience.kmath.nd/-structure-n-d/index.html">StructureND</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="cholesky.html"><spanclass="token function">cholesky</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="../index.html#-1680022905%2FClasslikes%2F-1345790395">Tensor</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><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><pclass="paragraph">Cholesky decomposition.</p><pclass="paragraph">Computes the Cholesky decomposition of a Hermitian (or symmetric for real-valued matrices) positive-definite matrix or the Cholesky decompositions for a batch of such matrices. Each decomposition has the form: Given a tensor <codeclass="lang-kotlin">input</code>, return the tensor <codeclass="lang-kotlin">L</code> satisfying <codeclass="lang-kotlin">input = L dot LH</code>, where <codeclass="lang-kotlin">L</code> is a lower-triangular matrix and <codeclass="lang-kotlin">LH</code> is the conjugate transpose of <codeclass="lang-kotlin">L</code>, which is just a transpose for the case of real-valued input matrices. For more information: https://pytorch.org/docs/stable/linalg.html#torch.linalg.cholesky</p><h4class="">Receiver</h4><pclass="paragraph">the <codeclass="lang-kotlin">input</code>.</p><h4class="">Return</h4><pclass="paragraph">the batch of <codeclass="lang-kotlin">L</code> matrices.</p></div></div>