cholesky(a, lower=False, overwrite_a=False, check_finite=True)
Returns the Cholesky decomposition, $A = L L^*$ or $A = U^* U$ of a Hermitian positive-definite matrix A.
Matrix to be decomposed
Whether to compute the upper- or lower-triangular Cholesky factorization. Default is upper-triangular.
Whether to overwrite data in a
(may improve performance).
Whether to check that the input matrix contains only finite numbers. Disabling may give a performance gain, but may result in problems (crashes, non-termination) if the inputs do contain infinities or NaNs.
Compute the Cholesky decomposition of a matrix.
>>> from scipy.linalg import cholesky
... a = np.array([[1,-2j],[2j,5]])
... L = cholesky(a, lower=True)
... L array([[ 1.+0.j, 0.+0.j], [ 0.+2.j, 1.+0.j]])
>>> L @ L.T.conj() array([[ 1.+0.j, 0.-2.j], [ 0.+2.j, 5.+0.j]])See :
The following pages refer to to this document either explicitly or contain code examples using this.
scipy.linalg._decomp_ldl.ldl
scipy.linalg._decomp_cholesky.cholesky
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them