SparseFloatMatrix2D |
SparseFloatMatrix2D.assign(int[] rowIndexes,
int[] columnIndexes,
float[] values,
FloatFloatFunction 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. |
SparseFloatMatrix2D |
SparseFloatMatrix2D.assign(int[] rowIndexes,
int[] columnIndexes,
float value,
FloatFloatFunction 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. |