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

Clean up some linear solving methods #1635

Merged
merged 10 commits into from
Mar 18, 2024
Merged

Conversation

joschmitt
Copy link
Collaborator

@joschmitt joschmitt commented Mar 1, 2024

  • Remove the outdated can_solve_with_* methods and friends.
  • Adapt the Solve.* code to use more specialized methods for FracElem.
  • Use LU factoring in the solve context over fields.
  • Use FFLU factoring in the solve context over fraction fields.

The remaining _can_solve_with_solution_* methods over rings all do "rational solutions" and we should think about how we want to make this available to the user.
The other question is, whether the user should be able to choose an algorithm, so whether can_solve_with_solution should for example have an algorithm keyword where one can switch to LU factoring.

Copy link

codecov bot commented Mar 1, 2024

Codecov Report

Attention: Patch coverage is 96.49123% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 86.76%. Comparing base (70133e0) to head (fb2c344).

Files Patch % Lines
src/Solve.jl 96.29% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1635      +/-   ##
==========================================
- Coverage   87.00%   86.76%   -0.24%     
==========================================
  Files         114      114              
  Lines       29707    29689      -18     
==========================================
- Hits        25846    25761      -85     
- Misses       3861     3928      +67     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/Solve.jl Outdated Show resolved Hide resolved
@thofma
Copy link
Member

thofma commented Mar 14, 2024

Maybe also add an @attribute to the solve context in anticipation of some upcoming changes.

@thofma
Copy link
Member

thofma commented Mar 17, 2024

Happy with the coverage?

@joschmitt
Copy link
Collaborator Author

Happy with the coverage?

Yes.

@thofma thofma merged commit 9cb5b70 into Nemocas:master Mar 18, 2024
29 of 30 checks passed
@joschmitt joschmitt deleted the js/cleanup branch March 18, 2024 13:28
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.

2 participants