{ } Raw JSON

bundles / scipy 1.17.1 / scipy / linalg / _decomp_ldl / _ldl_get_d_and_l

function

scipy.linalg._decomp_ldl:_ldl_get_d_and_l

source: /scipy/linalg/_decomp_ldl.py :246

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 : ndarray

The compact output returned by the LAPACK routing

pivs : ndarray

The sanitized array of {0, 1, 2} denoting the sizes of the pivots. For every 2 there is a succeeding 0.

lower : bool, optional

If set to False, upper triangular part is considered.

hermitian : bool, optional

If set to False a symmetric complex array is assumed.

Returns

d : ndarray

The block diagonal matrix.

lu : ndarray

The upper/lower triangular matrix

Aliases

  • scipy.linalg._decomp_ldl._ldl_get_d_and_l