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
Multiplication of sparse matrix #450
Hello, I use math.js for multiplication of sparse matrices. For example, I have this matrix and I want multiply it by yourself:
After, I have the sparse matrix, but elements in index array (for one row) are not sorted. And method _getValueIndex works wrong.
Yes, you are correct. Some of the algorithms that are optimized for sparse matrices do not guarantee the index array will be sorted at the end. The
I will provide a fix soon...