SparseDoubleMatrix2D |
SparseDoubleMatrix2D.assign(int[] rowIndexes,
int[] columnIndexes,
double[] values,
DoubleDoubleFunction 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. |
SparseDoubleMatrix2D |
SparseDoubleMatrix2D.assign(int[] rowIndexes,
int[] columnIndexes,
double value,
DoubleDoubleFunction 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. |