I feel really stupid asking this, but I can't find a method for adding a row/vector to an index or a specific set of indices.
My current workaround is to
getRows(int[]) then addiRowVector(DoubleMatrix) then put(Range rs, Range cs, DoubleMatrix x) : (get rows, add your vector, then put them back)
This seems like a backwards and costly implementation, is there any alternative? Is there something simple I'm missing?
Thanks in advance!
For one row you can do it as in this piece of code using row number for example
as result you'll see
for several rows you can use loop using row numbers array for example
and here for result you see