Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special linalg.solve fn #98

Closed
wants to merge 4 commits into from
Closed

Special linalg.solve fn #98

wants to merge 4 commits into from

Conversation

mfschubert
Copy link
Collaborator

@mfschubert mfschubert commented Mar 2, 2024

jax-ml/jax#20047

This Jax issue seems to manifest in problematic scattering matrices in some situations.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 2, 2024
@smartalecH
Copy link
Contributor

smartalecH commented Mar 11, 2024

Hmm would switching to a more "friendly" scattering matrix formulation avoid the issue? The condition number for the example given was indeed pretty bad... but I wonder if we'd have similar issues if we used, for example, the convention described in Rumpf et al?

@mfschubert
Copy link
Collaborator Author

That could be, but I am not so optimistic.

I do think that changing the PML could improve things, as called for in #99. That might be a better fix than the approach in this PR, since this PR is in some sense performance-suboptimal and will result in a larger program. For this reason I have no plan to actually merge this change.

In the context of PML improvement, one could specifically look for the condition number of these matrices.

@mfschubert mfschubert closed this Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants