Skip to content

diag specializations for structured matrices yield dense vectors #478

@Sacha0

Description

@Sacha0

In #411 and related triage, discussion settled on returning SparseVector from diag(A::SparseMatrixCSC) and diag(A::SparseMatrixCSC, k::Integer). JuliaLang/julia#23261 implemented that behavior. In contrast, the diag specializations for structured matrices still return Vector. Should this discrepancy be remedied, or should diag continue to return Vector for structured matrices?r Best!

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs decisionA decision on this change is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions