Hi Dmitriy, Thanks that worked just fine. I also figured out that it is implemented as a loop internally as of Mahout 0.9.
> Note that this is not a sparsified operation though by default. >> Assignment accepts a function for inplace operators i.e scala way is >> a := (r,c,x) => log(x) Understood from [1] and [2]. Perhaps MatrixOps.:= should delegate the function call to VectorOps.:= for each of the row or column vectors? Regards, Saleem [1] https://github.com/apache/mahout/blob/mahout-0.9/math-scala/src/main/scala/org/apache/mahout/math/scalabindings/MatrixOps.scala#L126 [2] https://github.com/apache/mahout/blob/mahout-0.9/math-scala/src/main/scala/org/apache/mahout/math/scalabindings/VectorOps.scala#L61
