Skip to content

Why won't AbstractMatrix(::SubOperator) return a BandedBlockBandedMatrix? #81

Open
@Luapulu

Description

@Luapulu

I see that the line to return such a matrix is commented out below. Why?

# isbandedblockbanded(P) && return BandedBlockBandedMatrix

I'd like to preallocate large operator matrices and currently the RaggedMatrix type seems to be the default. The issue is that RaggedMatrix uses too much memory. Currently, I'm just manually using BandedBlockBandedMatrix, but that's not as nice as just being able to use AbstractMatrix(view(SomeOperator, FiniteRange, 1:N))), since I don't want to have to care about the exact memory layout myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions