bundles / scipy 1.17.1 / scipy / linalg / _decomp_ldl / _ldl_get_d_and_l
function
scipy.linalg._decomp_ldl:_ldl_get_d_and_l
Signature
def _ldl_get_d_and_l ( ldu , pivs , lower = True , hermitian = True ) Summary
Helper function to extract the diagonal and triangular matrices for LDL.T factorization.
Parameters
ldu: ndarrayThe compact output returned by the LAPACK routing
pivs: ndarrayThe sanitized array of {0, 1, 2} denoting the sizes of the pivots. For every 2 there is a succeeding 0.
lower: bool, optionalIf set to False, upper triangular part is considered.
hermitian: bool, optionalIf set to False a symmetric complex array is assumed.
Returns
d: ndarrayThe block diagonal matrix.
lu: ndarrayThe upper/lower triangular matrix
Aliases
-
scipy.linalg._decomp_ldl._ldl_get_d_and_l