I've a vector and a matrix:
1
1
0 0
0 0
I want to prepend the vector to matrix to produce :
1 0 0
1 0 0
I have so far :
val dv = DenseVector(1.0,1.0);
val dm = DenseMatrix.zeros[Double](2,2)
Reading the API : http://www.scalanlp.org/api/breeze/#breeze.linalg.DenseMatrix and both these docs : https://github.com/scalanlp/breeze/wiki/Quickstart https://github.com/scalanlp/breeze/wiki/Linear-Algebra-Cheat-Sheet
But this operation does not appear to be available ?
Is there a method/function to prepend a vector of ones to a Matrix ?