Closed taketo1024 closed 1 year ago
I have pushed the modified version on my folked repo. https://github.com/taketo1024/sprs/tree/mul_acc_default. I will send a PR if this modification seems good.
That seems like a good idea. We can judge the performance impact once the PR is up
Created PR. Closing this issue. Thanks!
I'd like to use
sprs
withnum-bigint
,num-rational
etc. However,sprs
's matrix multiplication requires that the scalar type implementsMulAcc
, whichBigInt
andRational
types do not suffice.We can make these types automatically implement
MulAcc
, if we change the code inmul_acc.rs
from the currentto
Is this a bad idea? (regarding performance?) Thanks.