Skip to content

Sparse matrix support #9

@zopieux

Description

@zopieux

Hi,

Thanks for publishing this library! I gave it a try in a project of mine, and while it works great, I was wondering if it would make sense to expose the Eigen Matrix type to callers, ie. make it a template typename.

I'm using least squares to solve an objective in which the Jacobian is sparse (mostly zeros), and Eigen has SparseMatrix implementations for decompositions and solvers (see eg. SparseQR), which might be more efficient/fast than the default dense matrix ones. I must admit I haven't benchmarked performance, but figured you should be aware.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions