SparseIntMatrix2D |
SparseIntMatrix2D.assign(int[] rowIndexes,
int[] columnIndexes,
int[] values,
IntIntFunction 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. |
SparseIntMatrix2D |
SparseIntMatrix2D.assign(int[] rowIndexes,
int[] columnIndexes,
int value,
IntIntFunction 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. |