More type deductions for matrix multiplication
dirkschumacher opened this issue · comments
Dirk Schumacher commented
mat %*% colvec = colvec
rowvec %*% mat = rowvec
mat %*% mat = mat
T %*% <scalar> = T
<scalar> %*% T = T
Dirk Schumacher commented
The relevant code is here:
Lines 830 to 858 in 5777a3f
Dirk Schumacher commented
There is also a lot of room for refactoring and making this stuff smarter :)