Skip to content

sparsifying of Matrix-Matrix product #68

@adamConnerSax

Description

@adamConnerSax

This may be more question than issue.

I understand why post-sparsifying might be the best route to making the matrix-matrix product sparse. But, in the regular product, why not leave out the elements that are sums of products all of which involve one structural zero? That is, if an element in the result comes from multiplying a row and column such that every product in that sum has at least one structural zero, why not leave that element out of the sparse product?

I got bitten by this because I assumed (my fault, I know!) that the sparse product would behave this way so I was ending up with dense matrices full of zeroes without realizing.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions