Skip to content

try sparse inner to speed up matvec #2

@sergpolly

Description

@sergpolly

For oe_matvec, potential speedup. We want to avoid too much conversions between sparse and dense matrices, so probably we want to switch to sparse matrices operations there.

For example, the replacement for np.inner:

https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.linalg.LinearOperator.html#scipy.sparse.linalg.LinearOperator

Ordinary dot product:
https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.csc_matrix.dot.html

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