tomstewart89 / BasicLinearAlgebra

A library for using matrices and linear algebra on Arduino
MIT License
185 stars 38 forks source link

Sparse matrix #52

Closed lukrow80 closed 1 year ago

lukrow80 commented 1 year ago

Hi, the code on read.me do not compile. Matrix<2000,3000, float, Sparse<3000,100,float> > sparseMatrix;

I changed to

Matrix<2000,3000, Sparse<3000,100,float> > sparseMatrix;

Ten i van compile but i cant assign aby value to sparse Matrix? Can you give me an example of use sparse matrix? A example on how IT works would be great. Thanx

tomstewart89 commented 1 year ago

Hey @lukrow80, sorry about the slow response here. I just released a new version of this library in which the sparse matrix class should work ok. I also added some logic to show how to do sparse multiplication (here). I'm not really sure how to better support operations on sparse matrices so for now I've just left that code in one of the tests. Hope that's helpful!

lukrow80 commented 1 year ago

Hey, thanx for your work. I will tast it.Od: tomstewart89 @.>Wysłano: sobota, 26 listopada 2022, 04:38Do: tomstewart89/BasicLinearAlgebra @.>DW: lukrow80 @.>; Mention @.>Temat: Re: [tomstewart89/BasicLinearAlgebra] Sparse matrix (Issue #52) Hey @lukrow80, sorry about the slow response here. I just released a new version of this library in which the sparse matrix class should work ok. I also added some logic to show how to do sparse multiplication (here). I'm not really sure how to better support operations on sparse matrices so for now I've just left that code in one of the tests. Hope that's helpful!

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>