Uses of Interface
cern.colt.function.IntFunction
Packages that use IntFunction
Package
Description
Tools for basic and advanced mathematics: Arithmetics and Algebra, Polynomials and Chebyshev series, Bessel and Airy functions,
Function Objects for generic function evaluation, etc.
Large variety of probability distributions featuring high performance generation
of random numbers, CDF's and PDF's.
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 IntFunction in cern.jet.math
Fields in cern.jet.math declared as IntFunctionModifier and TypeFieldDescriptionstatic final IntFunction
IntFunctions.abs
Function that returns Math.abs(a) == (a invalid input: '<' 0) ? -a : a.static final IntFunction
IntFunctions.dec
Function that returns a--.static final IntFunction
IntFunctions.factorial
Function that returns (int) Arithmetic.factorial(a).static final IntFunction
IntFunctions.identity
Function that returns its argument.static final IntFunction
IntFunctions.inc
Function that returns a++.static final IntFunction
IntFunctions.neg
Function that returns -a.static final IntFunction
IntFunctions.not
Function that returns ~a.static final IntFunction
IntFunctions.sign
Function that returns a invalid input: '<' 0 ? -1 : a > 0 ? 1 : 0.static final IntFunction
IntFunctions.square
Function that returns a * a.Methods in cern.jet.math that return IntFunctionModifier and TypeMethodDescriptionstatic IntFunction
IntFunctions.and
(int b) Constructs a function that returns a invalid input: '&' b.static IntFunction
IntFunctions.between
(int from, int to) Constructs a function that returns (frominvalid input: '<'=a invalid input: '&'invalid input: '&' ainvalid input: '<'=to) ? 1 : 0.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 IntFunction
IntFunctions.chain
(IntFunction g, IntFunction h) Constructs the function g( h(a) ).static IntFunction
IntFunctions.compare
(int b) Constructs a function that returns a invalid input: '<' b ? -1 : a > b ? 1 : 0.static IntFunction
IntFunctions.constant
(int c) Constructs a function that returns the constant c.static IntFunction
IntFunctions.div
(int b) Constructs a function that returns a / b.static IntFunction
IntFunctions.equals
(int b) Constructs a function that returns a == b ? 1 : 0.static IntFunction
IntFunctions.max
(int b) Constructs a function that returns Math.max(a,b).static IntFunction
IntFunctions.min
(int b) Constructs a function that returns Math.min(a,b).static IntFunction
IntFunctions.minus
(int b) Constructs a function that returns a - b.static IntFunction
IntFunctions.mod
(int b) Constructs a function that returns a % b.static IntFunction
IntFunctions.mult
(int b) Constructs a function that returns a * b.static IntFunction
IntFunctions.or
(int b) Constructs a function that returns a | b.static IntFunction
IntFunctions.plus
(int b) Constructs a function that returns a + b.static IntFunction
IntFunctions.pow
(int b) Constructs a function that returns (int) Math.pow(a,b).static IntFunction
IntFunctions.random()
Constructs a function that returns a 32 bit uniformly distributed random number in the closed interval [Integer.MIN_VALUE,Integer.MAX_VALUE] (including Integer.MIN_VALUE and Integer.MAX_VALUE).static IntFunction
IntFunctions.shiftLeft
(int b) Constructs a function that returns a invalid input: '<'invalid input: '<' b.static IntFunction
IntFunctions.shiftRightSigned
(int b) Constructs a function that returns a >> b.static IntFunction
IntFunctions.shiftRightUnsigned
(int b) Constructs a function that returns a >>> b.static IntFunction
IntFunctions.xor
(int b) Constructs a function that returns a | b.Methods in cern.jet.math with parameters of type IntFunctionModifier and TypeMethodDescriptionstatic IntFunction
IntFunctions.chain
(IntFunction g, IntFunction h) Constructs the function g( h(a) ).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) ). -
Uses of IntFunction in cern.jet.random
Classes in cern.jet.random that implement IntFunctionModifier and TypeClassDescriptionclass
Abstract base class for all continous distributions.class
Abstract base class for all discrete distributions.class
Abstract base class for all random distributions.class
Beta distribution; math definition and animated definition.class
Binomial distribution; See the math definition and animated definition.class
BreitWigner (aka Lorentz) distribution; See the math definition.class
Mean-square BreitWigner distribution; See the math definition.class
ChiSquare distribution; See the math definition and animated definition.class
Empirical distribution.class
Discrete Empirical distribution (pdf's can be specified).class
Exponential Distribution (aka Negative Exponential Distribution); See the math definition animated definition.class
Exponential Power distribution.class
class
Hyperbolic distribution.class
HyperGeometric distribution; See the math definition The hypergeometric distribution with parameters N, n and s is the probability distribution of the random variable X, whose value is the number of successes in a sample of n items from a population of size N that has s 'success' items and N - s 'failure' items.class
Logarithmic distribution.class
Negative Binomial distribution; See the math definition.class
Normal (aka Gaussian) distribution; See the math definition and animated definition.class
Poisson distribution (quick); See the math definition and animated definition.class
Poisson distribution; See the math definition and animated definition.class
StudentT distribution (aka T-distribution); See the math definition and animated definition.class
Uniform distribution; Math definition and animated definition.class
Von Mises distribution.class
Zeta distribution. -
Uses of IntFunction in cern.jet.random.engine
Classes in cern.jet.random.engine that implement IntFunctionModifier and TypeClassDescriptionclass
Quick medium quality uniform pseudo-random number generator.class
MersenneTwister (MT19937) is one of the strongest uniform pseudo-random number generators known so far; at the same time it is quick.class
Same as MersenneTwister except that method raw() returns 64 bit random numbers instead of 32 bit random numbers.class
Abstract base class for uniform pseudo-random number generating engines.