bundles / scipy 1.17.1 / scipy / optimize / _trustregion_exact / singular_leading_submatrix
function
scipy.optimize._trustregion_exact:singular_leading_submatrix
Signature
def singular_leading_submatrix ( A , U , k ) Summary
Compute term that makes the leading k by k submatrix from A singular.
Parameters
A: ndarraySymmetric matrix that is not positive definite.
U: ndarrayUpper triangular matrix resulting of an incomplete Cholesky decomposition of matrix
A.k: intPositive integer such that the leading k by k submatrix from
Ais the first non-positive definite leading submatrix.
Returns
delta: floatAmount that should be added to the element (k, k) of the leading k by k submatrix of
Ato make it singular.v: ndarrayA vector such that
v.T B v = 0. Where B is the matrix A afterdeltais added to its element (k, k).
Aliases
-
scipy.optimize._trustregion_exact.singular_leading_submatrix