Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sparse matrix support #9

Open
zopieux opened this issue Aug 21, 2022 · 0 comments
Open

Sparse matrix support #9

zopieux opened this issue Aug 21, 2022 · 0 comments

Comments

@zopieux
Copy link

zopieux commented Aug 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant