<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-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="cholesky.html"><spanclass="token function">cholesky</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">structureND<spanclass="token operator">: </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></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </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="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/api/LinearOpsTensorAlgebra.kt#L50">source</a>)</span></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><spanclass="kdoc-tag"><h4class="">Receiver</h4><pclass="paragraph">the <codeclass="lang-kotlin">input</code>.</p></span><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">the batch of <codeclass="lang-kotlin">L</code> matrices.</p></span></div></div>