Package | Description |
---|---|
cern.colt.map.tlong |
Automatically growing and shrinking map holding elements of long data type.
|
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.
|
cern.jet.random.tdouble.engine |
Engines generating strong uniformly distributed pseudo-random numbers;
Needed by all JET probability distributions since they rely on uniform random numbers to generate random numbers from their own distribution.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractIntLongMap.assign(LongFunction function)
Assigns the result of a function to each value;
v[i] = function(v[i]).
|
void |
AbstractLongLongMap.assign(LongFunction function)
Assigns the result of a function to each value;
v[i] = function(v[i]).
|
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.
|
LongMatrix1D |
LongMatrix1D.assign(LongFunction f)
Assigns the result of a function to each cell;
x[i] = function(x[i]).
|
LongMatrix3D |
LongMatrix3D.assign(LongFunction function)
Assigns the result of a function to each cell;
x[slice,row,col] = function(x[slice,row,col]).
|
LongMatrix2D |
LongMatrix2D.assign(LongFunction f)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col]).
|
LongMatrix1D |
LongMatrix1D.assign(LongProcedure cond,
LongFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
LongMatrix3D |
LongMatrix3D.assign(LongProcedure cond,
LongFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
LongMatrix2D |
LongMatrix2D.assign(LongProcedure cond,
LongFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
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) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongFunction function) |
LongMatrix2D |
SparseLongMatrix2D.assign(LongFunction function) |
LongMatrix2D |
DenseLongMatrix2D.assign(LongFunction function) |
LongMatrix1D |
DenseLongMatrix1D.assign(LongFunction function) |
LongMatrix2D |
SparseRCLongMatrix2D.assign(LongFunction function) |
LongMatrix2D |
SparseCCLongMatrix2D.assign(LongFunction function) |
LongMatrix2D |
DiagonalLongMatrix2D.assign(LongFunction function) |
LongMatrix2D |
DenseColumnLongMatrix2D.assign(LongFunction function) |
LongMatrix3D |
DenseLongMatrix3D.assign(LongProcedure cond,
LongFunction f) |
LongMatrix2D |
DenseLongMatrix2D.assign(LongProcedure cond,
LongFunction function) |
LongMatrix1D |
DenseLongMatrix1D.assign(LongProcedure cond,
LongFunction function) |
LongMatrix2D |
DenseColumnLongMatrix2D.assign(LongProcedure cond,
LongFunction function) |
Modifier and Type | Class and Description |
---|---|
class |
LongMult
Only for performance tuning of compute longensive linear algebraic
computations.
|
Modifier and Type | Field and Description |
---|---|
static LongFunction |
LongFunctions.abs
Function that returns Math.abs(a) == (a < 0) ? -a : a.
|
static LongFunction |
LongFunctions.dec
Function that returns a--.
|
static LongFunction |
LongFunctions.factorial
Function that returns (long) Arithmetic.factorial(a).
|
static LongFunction |
LongFunctions.identity
Function that returns its argument.
|
static LongFunction |
LongFunctions.inc
Function that returns a++.
|
static LongFunction |
LongFunctions.neg
Function that returns -a.
|
static LongFunction |
LongFunctions.not
Function that returns ~a.
|
static LongFunction |
LongFunctions.sign
Function that returns a < 0 ? -1 : a > 0 ? 1 : 0.
|
static LongFunction |
LongFunctions.square
Function that returns a * a.
|
Modifier and Type | Method and Description |
---|---|
static LongFunction |
LongFunctions.and(long b)
Constructs a function that returns a & b.
|
static LongFunction |
LongFunctions.between(long from,
long to)
Constructs a function that returns (from<=a && a<=to) ? 1 : 0.
|
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 LongFunction |
LongFunctions.chain(LongFunction g,
LongFunction h)
Constructs the function g( h(a) ).
|
static LongFunction |
LongFunctions.compare(long b)
Constructs a function that returns a < b ? -1 : a > b ? 1 : 0.
|
static LongFunction |
LongFunctions.constant(long c)
Constructs a function that returns the constant c.
|
static LongFunction |
LongFunctions.div(long b)
Constructs a function that returns a / b.
|
static LongFunction |
LongFunctions.equals(long b)
Constructs a function that returns a == b ? 1 : 0.
|
static LongFunction |
LongFunctions.max(long b)
Constructs a function that returns Math.max(a,b).
|
static LongFunction |
LongFunctions.min(long b)
Constructs a function that returns Math.min(a,b).
|
static LongFunction |
LongFunctions.minus(long b)
Constructs a function that returns a - b.
|
static LongFunction |
LongFunctions.mod(long b)
Constructs a function that returns a % b.
|
static LongFunction |
LongFunctions.mult(long b)
Constructs a function that returns a * b.
|
static LongFunction |
LongFunctions.or(long b)
Constructs a function that returns a | b.
|
static LongFunction |
LongFunctions.plus(long b)
Constructs a function that returns a + b.
|
static LongFunction |
LongFunctions.pow(long b)
Constructs a function that returns (long) Math.pow(a,b).
|
static LongFunction |
LongFunctions.random()
Constructs a function that returns a 32 bit uniformly distributed random
number in the closed longerval [Long.MIN_VALUE,Long.MAX_VALUE]
(including Long.MIN_VALUE and Long.MAX_VALUE).
|
static LongFunction |
LongFunctions.shiftLeft(long b)
Constructs a function that returns a << b.
|
static LongFunction |
LongFunctions.shiftRightSigned(long b)
Constructs a function that returns a >> b.
|
static LongFunction |
LongFunctions.shiftRightUnsigned(long b)
Constructs a function that returns a >>> b.
|
static LongFunction |
LongFunctions.xor(long b)
Constructs a function that returns a | b.
|
Modifier and Type | Method and Description |
---|---|
static LongFunction |
LongFunctions.chain(LongFunction g,
LongFunction h)
Constructs the function g( h(a) ).
|
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) ).
|
Modifier and Type | Class and Description |
---|---|
class |
DoubleMersenneTwister
MersenneTwister (MT19937) is one of the strongest uniform pseudo-random
number generators known so far; at the same time it is quick.
|
class |
DoubleRandomEngine
Abstract base class for uniform pseudo-random number generating engines.
|
class |
DRand
Quick medium quality uniform pseudo-random number generator.
|
class |
MersenneTwister64
Same as MersenneTwister except that method raw() returns 64
bit random numbers instead of 32 bit random numbers.
|
Jump to the Parallel Colt Homepage