Package | Description |
---|---|
cern.colt.matrix.tint.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of int data type.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Jump to the Parallel Colt Homepage