Skip to content

Implement construction from an input sparse vector / matrix #20

@rob-p

Description

@rob-p

I've been reading about this classic algorithm, and I was surprised (and happy) to see that one of the few implementations I could find was written in Rust!

Given that this method does particularly well at compressing sparse matrices, I wonder if it would make sense to have a constructor / builder that takes as input a matrix that is already sparse (e.g. represented as CSR, given the row-oriented nature of the algorithm). That way, one could avoid having to take an already sparse representation and densify it before applying this compression.

Thanks!
Rob

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