Uses of Interface
cern.colt.function.IntFunction
-
Packages that use IntFunction Package Description cern.jet.math Tools for basic and advanced mathematics: Arithmetics and Algebra, Polynomials and Chebyshev series, Bessel and Airy functions, Function Objects for generic function evaluation, etc.cern.jet.random Large variety of probability distributions featuring high performance generation of random numbers, CDF's and PDF's.cern.jet.random.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 IntFunction in cern.jet.math
Fields in cern.jet.math declared as IntFunction Modifier and Type Field Description static IntFunctionIntFunctions. absFunction that returns Math.abs(a) == (a < 0) ? -a : a.static IntFunctionIntFunctions. decFunction that returns a--.static IntFunctionIntFunctions. factorialFunction that returns (int) Arithmetic.factorial(a).static IntFunctionIntFunctions. identityFunction that returns its argument.static IntFunctionIntFunctions. incFunction that returns a++.static IntFunctionIntFunctions. negFunction that returns -a.static IntFunctionIntFunctions. notFunction that returns ~a.static IntFunctionIntFunctions. signFunction that returns a < 0 ? -1 : a > 0 ? 1 : 0.static IntFunctionIntFunctions. squareFunction that returns a * a.Methods in cern.jet.math that return IntFunction Modifier and Type Method Description static IntFunctionIntFunctions. and(int b)Constructs a function that returns a & b.static IntFunctionIntFunctions. between(int from, int to)Constructs a function that returns (from<=a && a<=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 < 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 << 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 IntFunction Modifier and Type Method Description static 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 IntFunction Modifier and Type Class Description classAbstractContinousDistributionAbstract base class for all continous distributions.classAbstractDiscreteDistributionAbstract base class for all discrete distributions.classAbstractDistributionAbstract base class for all random distributions.classBetaBeta distribution; math definition and animated definition.classBinomialBinomial distribution; See the math definition and animated definition.classBreitWignerBreitWigner (aka Lorentz) distribution; See the math definition.classBreitWignerMeanSquareMean-square BreitWigner distribution; See the math definition.classChiSquareChiSquare distribution; See the math definition and animated definition.classEmpiricalEmpirical distribution.classEmpiricalWalkerDiscrete Empirical distribution (pdf's can be specified).classExponentialExponential Distribution (aka Negative Exponential Distribution); See the math definition animated definition.classExponentialPowerExponential Power distribution.classGammaclassHyperbolicHyperbolic distribution.classHyperGeometricHyperGeometric 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.classLogarithmicLogarithmic distribution.classNegativeBinomialNegative Binomial distribution; See the math definition.classNormalNormal (aka Gaussian) distribution; See the math definition and animated definition.classPoissonPoisson distribution (quick); See the math definition and animated definition.classPoissonSlowPoisson distribution; See the math definition and animated definition.classStudentTStudentT distribution (aka T-distribution); See the math definition and animated definition.classUniformUniform distribution; Math definition and animated definition.classVonMisesVon Mises distribution.classZetaZeta distribution. -
Uses of IntFunction in cern.jet.random.engine
Classes in cern.jet.random.engine that implement IntFunction Modifier and Type Class Description classDRandQuick medium quality uniform pseudo-random number generator.classMersenneTwisterMersenneTwister (MT19937) is one of the strongest uniform pseudo-random number generators known so far; at the same time it is quick.classMersenneTwister64Same as MersenneTwister except that method raw() returns 64 bit random numbers instead of 32 bit random numbers.classRandomEngineAbstract base class for uniform pseudo-random number generating engines.
-