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

Enhance ldl API #203

Merged
merged 10 commits into from
Jul 20, 2020
Merged

Enhance ldl API #203

merged 10 commits into from
Jul 20, 2020

Conversation

vbarrielle
Copy link
Collaborator

This pull request introduces a more ergonomic API to the LDL factorization algorithm, which makes it easy to compute a factorization yet allows customization of some options, such as disabling symmetry check or choosing a method to get a good fill-in reducing permutation.

This should help investigate #199.

As noted in the documentation of transform_mat_papt, the same process
works whether the input matrix is CSC or CSR.

This is a breaking change, but this API is kept unstable as it is very
prone and its use case is quite specific to `sprs-ldl` for now. We now
enforce this more by hiding this function from the docs.
This API uses the builder pattern and will try and use good defaults,
such as picking an appropriate fill-in reducing permutation (Reverse
Cuthill-McKee for now as that's all that is implemented).
The rationale is that other crates might depend on this info.
This way it becomes easy to compare the rust version and the C version.
@vbarrielle vbarrielle merged commit c476ce1 into master Jul 20, 2020
@vbarrielle vbarrielle deleted the enhance_ldl branch July 20, 2020 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant