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