Package | Description |
---|---|
cern.colt.matrix.tint |
Matrix interfaces and factories holding elements of int data type.
|
cern.colt.matrix.tint.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of int data type.
|
cern.jet.math.tint |
Tools for basic and advanced mathematics: Arithmetics and Function Objects for generic function evaluation operating on int data type.
|
edu.emory.mathcs.utils |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
int |
IntMatrix3D.aggregate(IntIntFunction aggr,
IntFunction f)
Applies a function to each cell and aggregates the results.
|
int |
IntMatrix1D.aggregate(IntIntFunction aggr,
IntFunction f)
Applies a function to each cell and aggregates the results.
|
int |
IntMatrix2D.aggregate(IntIntFunction aggr,
IntFunction f)
Applies a function to each cell and aggregates the results.
|
int |
IntMatrix1D.aggregate(IntIntFunction aggr,
IntFunction f,
IntArrayList indexList)
Applies a function to all cells with a given indexes and aggregates the
results.
|
int |
IntMatrix2D.aggregate(IntIntFunction aggr,
IntFunction f,
IntArrayList rowList,
IntArrayList columnList)
Applies a function to all cells with a given indexes and aggregates the
results.
|
int |
IntMatrix3D.aggregate(IntIntFunction aggr,
IntFunction f,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList)
Applies a function to all cells with a given indexes and aggregates the
results.
|
int |
IntMatrix3D.aggregate(IntIntFunction aggr,
IntFunction f,
IntProcedure cond)
Applies a function to each cell that satisfies a condition and aggregates
the results.
|
int |
IntMatrix2D.aggregate(IntIntFunction aggr,
IntFunction f,
IntProcedure cond)
Applies a function to each cell that satisfies a condition and aggregates
the results.
|
int |
IntMatrix1D.aggregate(IntMatrix1D other,
IntIntFunction aggr,
IntIntFunction f)
Applies a function to each corresponding cell of two matrices and
aggregates the results.
|
int |
IntMatrix2D.aggregate(IntMatrix2D other,
IntIntFunction aggr,
IntIntFunction f)
Applies a function to each corresponding cell of two matrices and
aggregates the results.
|
int |
IntMatrix3D.aggregate(IntMatrix3D other,
IntIntFunction aggr,
IntIntFunction f)
Applies a function to each corresponding cell of two matrices and
aggregates the results.
|
IntMatrix1D |
IntMatrix1D.assign(IntMatrix1D y,
IntIntFunction function)
Assigns the result of a function to each cell;
x[i] = function(x[i],y[i]).
|
IntMatrix1D |
IntMatrix1D.assign(IntMatrix1D y,
IntIntFunction function,
IntArrayList nonZeroIndexes)
Assigns the result of a function to each cell;
x[i] = function(x[i],y[i]).
|
IntMatrix2D |
IntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]).
|
IntMatrix2D |
IntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function,
IntArrayList rowList,
IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
|
IntMatrix3D |
IntMatrix3D.assign(IntMatrix3D y,
IntIntFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]).
|
IntMatrix3D |
IntMatrix3D.assign(IntMatrix3D y,
IntIntFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
|
Modifier and Type | Method and Description |
---|---|
int |
DenseIntMatrix3D.aggregate(IntIntFunction aggr,
IntFunction f) |
int |
DenseIntMatrix1D.aggregate(IntIntFunction aggr,
IntFunction f) |
int |
DenseIntMatrix2D.aggregate(IntIntFunction aggr,
IntFunction f) |
int |
DenseColumnIntMatrix2D.aggregate(IntIntFunction aggr,
IntFunction f) |
int |
DenseIntMatrix1D.aggregate(IntIntFunction aggr,
IntFunction f,
IntArrayList indexList) |
int |
DenseIntMatrix2D.aggregate(IntIntFunction aggr,
IntFunction f,
IntArrayList rowList,
IntArrayList columnList) |
int |
DenseColumnIntMatrix2D.aggregate(IntIntFunction aggr,
IntFunction f,
IntArrayList rowList,
IntArrayList columnList) |
int |
DenseIntMatrix3D.aggregate(IntIntFunction aggr,
IntFunction f,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList) |
int |
DenseIntMatrix3D.aggregate(IntIntFunction aggr,
IntFunction f,
IntProcedure cond) |
int |
DenseIntMatrix2D.aggregate(IntIntFunction aggr,
IntFunction f,
IntProcedure cond) |
int |
DenseColumnIntMatrix2D.aggregate(IntIntFunction aggr,
IntFunction f,
IntProcedure cond) |
int |
DenseIntMatrix1D.aggregate(IntMatrix1D other,
IntIntFunction aggr,
IntIntFunction f) |
int |
DenseIntMatrix2D.aggregate(IntMatrix2D other,
IntIntFunction aggr,
IntIntFunction f) |
int |
DenseColumnIntMatrix2D.aggregate(IntMatrix2D other,
IntIntFunction aggr,
IntIntFunction f) |
int |
DenseIntMatrix3D.aggregate(IntMatrix3D other,
IntIntFunction aggr,
IntIntFunction f) |
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.
|
IntMatrix1D |
DenseIntMatrix1D.assign(IntMatrix1D y,
IntIntFunction function) |
IntMatrix2D |
DiagonalIntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function) |
IntMatrix2D |
DenseIntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function) |
IntMatrix2D |
SparseRCIntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function) |
IntMatrix2D |
DenseColumnIntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function) |
IntMatrix2D |
SparseCCIntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function) |
IntMatrix2D |
SparseIntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function) |
IntMatrix2D |
WrapperIntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function) |
IntMatrix2D |
DenseIntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function,
IntArrayList rowList,
IntArrayList columnList) |
IntMatrix2D |
DenseColumnIntMatrix2D.assign(IntMatrix2D y,
IntIntFunction function,
IntArrayList rowList,
IntArrayList columnList) |
IntMatrix3D |
DenseIntMatrix3D.assign(IntMatrix3D y,
IntIntFunction function) |
IntMatrix3D |
DenseIntMatrix3D.assign(IntMatrix3D y,
IntIntFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList) |
Modifier and Type | Class and Description |
---|---|
class |
IntPlusMultFirst
Only for performance tuning of compute intensive linear algebraic
computations.
|
class |
IntPlusMultSecond
Only for performance tuning of compute intensive linear algebraic
computations.
|
Modifier and Type | Field and Description |
---|---|
static IntIntFunction |
IntFunctions.and
Function that returns a & b.
|
static IntIntFunction |
IntFunctions.compare
Function that returns a < b ? -1 : a > b ? 1 : 0.
|
static IntIntFunction |
IntFunctions.div
Function that returns a / b.
|
static IntIntFunction |
IntFunctions.divNeg
Function that returns -(a / b).
|
static IntIntFunction |
IntFunctions.equals
Function that returns a == b ? 1 : 0.
|
static IntIntFunction |
IntFunctions.max
Function that returns Math.max(a,b).
|
static IntIntFunction |
IntFunctions.min
Function that returns Math.min(a,b).
|
static IntIntFunction |
IntFunctions.minus
Function that returns a - b.
|
static IntIntFunction |
IntFunctions.mod
Function that returns a % b.
|
static IntIntFunction |
IntFunctions.mult
Function that returns a * b.
|
static IntIntFunction |
IntFunctions.multNeg
Function that returns -(a * b).
|
static IntIntFunction |
IntFunctions.multSquare
Function that returns a * b^2.
|
static IntIntFunction |
IntFunctions.or
Function that returns a | b.
|
static IntIntFunction |
IntFunctions.plus
Function that returns a + b.
|
static IntIntFunction |
IntFunctions.plusAbs
Function that returns Math.abs(a) + Math.abs(b).
|
static IntIntFunction |
IntFunctions.pow
Function that returns (int) Math.pow(a,b).
|
static IntIntFunction |
IntFunctions.shiftLeft
Function that returns a << b.
|
static IntIntFunction |
IntFunctions.shiftRightSigned
Function that returns a >> b.
|
static IntIntFunction |
IntFunctions.shiftRightUnsigned
Function that returns a >>> b.
|
static IntIntFunction |
IntFunctions.xor
Function that returns a ^ b.
|
Modifier and Type | Method and Description |
---|---|
static IntIntFunction |
IntFunctions.chain(IntFunction g,
IntIntFunction h)
Constructs the function g( h(a,b) ).
|
static IntIntFunction |
IntFunctions.chain(IntIntFunction f,
IntFunction g,
IntFunction h)
Constructs the function f( g(a), h(b) ).
|
static IntIntFunction |
IntFunctions.minusMult(int constant)
Constructs a function that returns a - b*constant.
|
static IntIntFunction |
IntFunctions.multSecond(int constant)
Constructs a function that returns b*constant.
|
static IntIntFunction |
IntFunctions.plusMultFirst(int constant)
Constructs a function that returns a * constant + b.
|
static IntIntFunction |
IntFunctions.plusMultSecond(int constant)
Constructs a function that returns a + b*constant.
|
static IntIntFunction |
IntFunctions.swapArgs(IntIntFunction function)
Constructs a function that returns function.apply(b,a), i.e.
|
Modifier and Type | Method and Description |
---|---|
static IntFunction |
IntFunctions.bindArg1(IntIntFunction function,
int c)
Constructs a unary function from a binary function with the first operand
(argument) fixed to the given constant c.
|
static IntFunction |
IntFunctions.bindArg2(IntIntFunction function,
int c)
Constructs a unary function from a binary function with the second
operand (argument) fixed to the given constant c.
|
static IntIntFunction |
IntFunctions.chain(IntFunction g,
IntIntFunction h)
Constructs the function g( h(a,b) ).
|
static IntIntFunction |
IntFunctions.chain(IntIntFunction f,
IntFunction g,
IntFunction h)
Constructs the function f( g(a), h(b) ).
|
static IntIntFunction |
IntFunctions.swapArgs(IntIntFunction function)
Constructs a function that returns function.apply(b,a), i.e.
|
Modifier and Type | Method and Description |
---|---|
static int |
ConcurrencyUtils.waitForCompletion(Future<?>[] futures,
IntIntFunction aggr)
Waits for all threads to complete computation and aggregates the result.
|
Jump to the Parallel Colt Homepage