I am doing some Machine Learning code in Scala. I want to vectorize the operations like vector dot product, vector - scalar multiplication, vector vector addition. For example,
val x = u . v
val x = 2 * v
Basically I have experince in Matlab and would love to have similar operators on vectors. Which is the way to proceed? Thanks