Skip to content

SparseMatrixCSR should be a type alias for Transpose{SparseMatrixCSC} #41

Closed
@ndinsmore

Description

@ndinsmore

I am surprised that this isn't already in SparseArray, but should we define:
const SparseMatrixCSR{Tv,Ti} = Transpose{Tv,SparseMatrix{Tv,Ti}} where {Tv, Ti <: Integer}

This plus a few simple additional methods would make it so Julia had psuedo built in support for compressed sparse matrixes.

I am already using a definition like this and I can't believe that I am the only one.

If people agree I can take a shot at the PR.

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