Skip to content

DArray: Add LU, triangular solve, and more#675

Open
jpsamaroo wants to merge 14 commits intomasterfrom
jps/lu-ldiv3
Open

DArray: Add LU, triangular solve, and more#675
jpsamaroo wants to merge 14 commits intomasterfrom
jps/lu-ldiv3

Conversation

@jpsamaroo
Copy link
Member

@jpsamaroo jpsamaroo commented Feb 3, 2026

Thanks to @AkhilAkkapelli for the implementations! He implemented these a while back, but I had blocked merging them on #662 as they use views in Datadeps (which were broken until that PR).

This also fixes some bugs in Datadeps and improves various bits and pieces of the DArray that LinearAlgebra routines utilize.

Todo:

  • Investigate and fix SingularException in LU tests
  • Add linear solving test to exercise ldiv!
  • Add ldiv! support to docs

AkhilAkkapelli and others added 10 commits February 3, 2026 10:29
- **Implemented RowMaximum Pivoting**: Added a new LU factorization strategy using the RowMaximum pivoting method for distributed matrices

- **Custom Pivot Search and Swapping**: Introduced helper functions for searching row maxima, updating pivot indices, and swapping rows in both panel and trailing submatrices

- **Blockwise Distributed Algorithm**: Ensured compatibility with block-partitioned distributed matrices, supporting only equal block sizes for now

- **Non-breaking Addition**: Existing NoPivot LU functionality remains unchanged; RowMaximum is an additional strategy selectable via the LinearAlgebra interface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants