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 IntFunctionIntFunctions.absFunction that returns Math.abs(a) == (a invalid input: '<' 0) ? -a : a.static final IntFunctionIntFunctions.decFunction that returns a--.static final IntFunctionIntFunctions.factorialFunction that returns (int) Arithmetic.factorial(a).static final IntFunctionIntFunctions.identityFunction that returns its argument.static final IntFunctionIntFunctions.incFunction that returns a++.static final IntFunctionIntFunctions.negFunction that returns -a.static final IntFunctionIntFunctions.notFunction that returns ~a.static final IntFunctionIntFunctions.signFunction that returns a invalid input: '<' 0 ? -1 : a > 0 ? 1 : 0.static final IntFunctionIntFunctions.squareFunction that returns a * a.Methods in cern.jet.math that return IntFunctionModifier and TypeMethodDescriptionstatic IntFunctionIntFunctions.and(int b) Constructs a function that returns a invalid input: '&' b.static IntFunctionIntFunctions.between(int from, int to) Constructs a function that returns (frominvalid input: '<'=a invalid input: '&'invalid input: '&' ainvalid input: '<'=to) ? 1 : 0.static IntFunctionIntFunctions.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 IntFunctionIntFunctions.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 IntFunctionIntFunctions.chain(IntFunction g, IntFunction h) Constructs the function g( h(a) ).static IntFunctionIntFunctions.compare(int b) Constructs a function that returns a invalid input: '<' b ? -1 : a > b ? 1 : 0.static IntFunctionIntFunctions.constant(int c) Constructs a function that returns the constant c.static IntFunctionIntFunctions.div(int b) Constructs a function that returns a / b.static IntFunctionIntFunctions.equals(int b) Constructs a function that returns a == b ? 1 : 0.static IntFunctionIntFunctions.max(int b) Constructs a function that returns Math.max(a,b).static IntFunctionIntFunctions.min(int b) Constructs a function that returns Math.min(a,b).static IntFunctionIntFunctions.minus(int b) Constructs a function that returns a - b.static IntFunctionIntFunctions.mod(int b) Constructs a function that returns a % b.static IntFunctionIntFunctions.mult(int b) Constructs a function that returns a * b.static IntFunctionIntFunctions.or(int b) Constructs a function that returns a | b.static IntFunctionIntFunctions.plus(int b) Constructs a function that returns a + b.static IntFunctionIntFunctions.pow(int b) Constructs a function that returns (int) Math.pow(a,b).static IntFunctionIntFunctions.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 IntFunctionIntFunctions.shiftLeft(int b) Constructs a function that returns a invalid input: '<'invalid input: '<' b.static IntFunctionIntFunctions.shiftRightSigned(int b) Constructs a function that returns a >> b.static IntFunctionIntFunctions.shiftRightUnsigned(int b) Constructs a function that returns a >>> b.static IntFunctionIntFunctions.xor(int b) Constructs a function that returns a | b.Methods in cern.jet.math with parameters of type IntFunctionModifier and TypeMethodDescriptionstatic IntFunctionIntFunctions.chain(IntFunction g, IntFunction h) Constructs the function g( h(a) ).static IntIntFunctionIntFunctions.chain(IntFunction g, IntIntFunction h) Constructs the function g( h(a,b) ).static IntIntFunctionIntFunctions.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 TypeClassDescriptionclassAbstract base class for all continous distributions.classAbstract base class for all discrete distributions.classAbstract base class for all random distributions.classBeta distribution; math definition and animated definition.classBinomial distribution; See the math definition and animated definition.classBreitWigner (aka Lorentz) distribution; See the math definition.classMean-square BreitWigner distribution; See the math definition.classChiSquare distribution; See the math definition and animated definition.classEmpirical distribution.classDiscrete Empirical distribution (pdf's can be specified).classExponential Distribution (aka Negative Exponential Distribution); See the math definition animated definition.classExponential Power distribution.classclassHyperbolic distribution.classHyperGeometric 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.classLogarithmic distribution.classNegative Binomial distribution; See the math definition.classNormal (aka Gaussian) distribution; See the math definition and animated definition.classPoisson distribution (quick); See the math definition and animated definition.classPoisson distribution; See the math definition and animated definition.classStudentT distribution (aka T-distribution); See the math definition and animated definition.classUniform distribution; Math definition and animated definition.classVon Mises distribution.classZeta distribution. -
Uses of IntFunction in cern.jet.random.engine
Classes in cern.jet.random.engine that implement IntFunctionModifier and TypeClassDescriptionclassQuick medium quality uniform pseudo-random number generator.classMersenneTwister (MT19937) is one of the strongest uniform pseudo-random number generators known so far; at the same time it is quick.classSame as MersenneTwister except that method raw() returns 64 bit random numbers instead of 32 bit random numbers.classAbstract base class for uniform pseudo-random number generating engines.