|
Parallel Colt 0.9.4 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LongFunction | |
---|---|
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. |
Uses of LongFunction in cern.colt.map.tlong |
---|
Methods in cern.colt.map.tlong with parameters of type LongFunction | |
---|---|
void |
AbstractLongLongMap.assign(LongFunction function)
Assigns the result of a function to each value; v[i] = function(v[i]). |
void |
AbstractIntLongMap.assign(LongFunction function)
Assigns the result of a function to each value; v[i] = function(v[i]). |
Uses of LongFunction in cern.colt.matrix.tlong |
---|
Methods in cern.colt.matrix.tlong with parameters of type LongFunction | |
---|---|
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)
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. |
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(LongFunction f)
Assigns the result of a function to each cell; x[i] = function(x[i]). |
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. |
LongMatrix1D |
LongMatrix1D.assign(LongProcedure cond,
LongFunction f)
Assigns the result of a function to all cells that satisfy a condition. |
Uses of LongFunction in cern.colt.matrix.tlong.impl |
---|
Uses of LongFunction in cern.jet.math.tlong |
---|
Classes in cern.jet.math.tlong that implement LongFunction | |
---|---|
class |
LongMult
Only for performance tuning of compute longensive linear algebraic computations. |
Fields in cern.jet.math.tlong declared as LongFunction | |
---|---|
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. |
Methods in cern.jet.math.tlong that return LongFunction | |
---|---|
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. |
Methods in cern.jet.math.tlong with parameters of type LongFunction | |
---|---|
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) ). |
Uses of LongFunction in cern.jet.random.tdouble.engine |
---|
Classes in cern.jet.random.tdouble.engine that implement LongFunction | |
---|---|
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. |
|
Parallel Colt 0.9.4 | |||||||||
PREV NEXT | FRAMES NO FRAMES |