Skip to content

Progressively fix positive definiteness - #46

Merged
adknudson merged 4 commits into
mainfrom
progressively-fix-pd
Sep 16, 2026
Merged

adknudson merged 4 commits into
mainfrom
progressively-fix-pd

Conversation

@adknudson

Copy link
Copy Markdown
Owner

This PR adds a mechanism to progressively increase the minimum eigenvalue enforced when ensure_PD=true. This is especially useful when a fixed mask is supplied. The method essentially reduces to an iterative direct projection method with increasing minimum eigenvalue.

Three arguments in init related to mechanism:

  • ensure_pd: Checks (and corrects) that the resulting matrix is positive definite.
  • min_eigenvalue: The minimum eigenvalue to enforce when ensure_pd == true.
  • max_pd_attempts: The maximum number of attempts to force the solution to be positive definite.

@adknudson adknudson self-assigned this Sep 14, 2026
@adknudson adknudson added the enhancement New feature or request label Sep 14, 2026
@adknudson
adknudson merged commit 540a736 into main Sep 16, 2026
4 checks passed
@adknudson
adknudson deleted the progressively-fix-pd branch September 16, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant