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

Lu matrix decomposition #1587

Merged
merged 7 commits into from
Mar 5, 2025
Merged

Lu matrix decomposition #1587

merged 7 commits into from
Mar 5, 2025

Conversation

TomasPegado
Copy link
Contributor

Adds Lu matrix decomposition with a defn implementation

@polvalente
Copy link
Contributor

With this PR, we only have triangular_solve being implemented in the binary backend. All other Nx.LinAlg functions are defined either in terms of each other, or in terms of elementary Nx functions!

@polvalente polvalente merged commit 27b4026 into elixir-nx:main Mar 5, 2025
8 checks passed
@@ -0,0 +1,169 @@
defmodule Nx.LinAlg.LU do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have @moduledoc false?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! Good catch

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.

4 participants