Scala Prefix Prefix Breeze scalar multiplication
When using Breeze, I need to import some implicit conversions to make the prefix scan multiplication work?
val v = DenseVector(1.0, 2.0, 3.0)
val r = 2.0 * v
The above doesn't work where as:
val r = v * 2.0
Works.
+3
The sockmonster
source
to share
1 answer
Breeze does not define any implicit conversions for Double, etc. right now. I have to add them, but there is still nothing.
+2
dlwh
source
to share