boundlab.ops.definiteness_split#
- boundlab.ops.definiteness_split(matrix)[source]#
Split
matrixaspos + negby shifting the shared diagonal.Both halves keep the off-diagonal \(M/2\); their diagonals are shifted by \(\pm(\sum_j M_{ij} + \sum_i M_{ij})/4\), pushing
postoward diagonal dominance (hence positive semidefiniteness) andnegthe opposite way, so each half’s quadratic form can be bounded one-sidedly.