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

BlockBandedMatrix should have extra entries so subblocks are banded #119

Open
dlfivefifty opened this issue Sep 8, 2021 · 0 comments
Open

Comments

@dlfivefifty
Copy link
Member

Ideally we'd have:

julia> B = BlockBandedMatrix{Float64}(undef, Fill(2,10), Fill(3, 10), (1, 2));

julia> MemoryLayout(view(B, getindex.(Block.(1:10), 1), getindex.(Block.(1:1), 2))) isa BandedColumns{StridedLayout}

To do this, we have several things to do:

  1. Support getindex.(Block.(1:10), 1). This will need a new type in BlockArrays.jl
  2. Split out BlockBandedMatrix from BlockSkylineMatrix (to simplify things)
  3. Special case when the block sizes are all the same size.
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

No branches or pull requests

1 participant