Open JulianDicken opened 2 weeks ago
It seems the reason is that the Dot
trait hasn’t yet been implemented for IxDyn
.
I’m interested in contributing to this repository, but considering my limited experience with developing crates, I’m hesitant to jump in right away. Additionally, there seem to be various conventions for multiplying vectors/matrices of different shapes, so I believe this requires more discussion. Perhaps we could also look into how numpy.matmul
handles these cases for reference.
Dot product is only a valid call for ndarray::Array2 -- even if the ArrayD is of the same dimensions.
works, while
does not This results in a very opaque compiler error:
In my opinion this should either give a clearer error message or be a valid call. I am not experienced enough with rust at the moment to suggest a fix myself.