Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

Define permuteddims as a generalization for PermutedDimsArray#46

Merged
mtfishman merged 3 commits into
mainfrom
mf/permuteddims
Jul 29, 2025
Merged

Define permuteddims as a generalization for PermutedDimsArray#46
mtfishman merged 3 commits into
mainfrom
mf/permuteddims

Conversation

@mtfishman

Copy link
Copy Markdown
Member

The motivation is BlockSparseArrays.jl, where a lazily permuted block sparse array is represented as a lazily permuted array of lazily permuted arrays. At either level, this would allow outputting a lazily permuted array that isn't necessarily a PermutedDimsArray. This is analogous to adjoint/Adjoint and transpose/Transpose.

I'm defining it here since it is a core function that I want to use across various packages, like BlockSparseArrays.jl and KroneckerArrays.jl.

See JuliaLang/julia#53188.

@codecov

codecov Bot commented Jul 29, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.95%. Comparing base (41f2ca2) to head (6381990).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
+ Coverage   73.82%   73.95%   +0.13%     
==========================================
  Files          10       12       +2     
  Lines         382      384       +2     
==========================================
+ Hits          282      284       +2     
  Misses        100      100              
Flag Coverage Δ
docs 26.96% <0.00%> (-46.86%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mtfishman mtfishman merged commit 088bc1f into main Jul 29, 2025
19 checks passed
@mtfishman mtfishman deleted the mf/permuteddims branch July 29, 2025 21:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant