You could create a distributed matrix with RowMatrix. val rmat = new RowMatrix(rows)
And then make a local DenseMatrix. val localMat = Matrices.dense(m, n, mat) Then multiply them. rmat.multiply(localMat) xj @ Tokyo On Thu, Aug 21, 2014 at 6:37 PM, Sean Owen <so...@cloudera.com> wrote: > Are you trying to multiply dense or sparse matrices? if sparse, are > they very large -- meaning, are you looking for distributed > operations? > > On Thu, Aug 21, 2014 at 10:07 AM, phoenix bai <mingzhi...@gmail.com> > wrote: > > there is RowMatrix implemented in spark. > > and I check for a while but failed to find any matrix operations (like > > multiplication etc) are defined in the class yet. > > > > so, my question is, if I want to do matrix multiplication, (to do vector > x > > matrix multiplication to be precise), need to convert the vector/matrix > to > > the the matrix type defined in breeze package right? > > > > thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >