Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A few small changes #1
I am actually in the process of changing some of the matrix multiplication functionality. I'll be adding the ability for a matrix to be specified as either row major or column major. In the multiplication the second matrix will always be converted to column major before multiplying. The cost of converting is almost always out weighed by the saving in the inner loop of the multiplication.
The rest of the code is also in a very unstable and pre-release state. There is still a long ways to go and am appreciate of the help. I'm glad that you have a use for it and will take a closer look at the pull request tomorrow. Thanks for submitting it. I'll probably work a little more actively on it knowing that someone is using it. :o)
Thank you! It sounds like a good idea to store the matrix in that format, it sounds like it would help to optimize that inner loop.
The pull request is just some rake helpers and so on. Let me know if you need any help with the rest of the code, I'm starting to get my head round it now! There's no great sparse matrix bindings for ruby, and no pure-ruby implementations as far as I can tell, so it would be good to get this working well.
Thank you for your efforts!