SparseLongMatrix2D |
SparseLongMatrix2D.assign(int[] rowIndexes,
int[] columnIndexes,
long[] values,
LongLongFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]), where y is given
in the coordinate form. |
SparseLongMatrix2D |
SparseLongMatrix2D.assign(int[] rowIndexes,
int[] columnIndexes,
long value,
LongLongFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]), where y is given
in the coordinate form with single numerical value. |