I'm using java colt library for sparse matrix. Inputs are the two sparse matrix with the same row number, e.g.,
SparseDoubleMatrix1D v1; //[1 2]
SparseDoubleMatrix1D v2; // [3, 4]
After some calculation of v1, and v2. I want to append the result of v2 to v1 or they can also be assigned to another new matrix, e.g.,
v3 = [v1; v2] ; // [1 2 3 4]
Any one know how to achieve this with colt? Is there an existing method for it?