## 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 and Description
--- | ---
`static IntFunction` | IntFunctions.`abs` Function that returns `Math.abs(a) == (a < 0) ? -a : a`.
`static IntFunction` | IntFunctions.`dec` Function that returns `a--`.
`static IntFunction` | IntFunctions.`factorial` Function that returns `(int) Arithmetic.factorial(a)`.
`static IntFunction` | IntFunctions.`identity` Function that returns its argument.
`static IntFunction` | IntFunctions.`inc` Function that returns `a++`.
`static IntFunction` | IntFunctions.`neg` Function that returns `-a`.
`static IntFunction` | IntFunctions.`not` Function that returns `~a`.
`static IntFunction` | IntFunctions.`sign` Function that returns `a < 0 ? -1 : a > 0 ? 1 : 0`.
`static IntFunction` | IntFunctions.`square` Function that returns `a * a`.

Methods in cern.jet.math that return IntFunction
Modifier and Type | Method and Description
--- | ---
`static IntFunction` | IntFunctions.`and(int b)` Constructs a function that returns `a & b`.
`static IntFunction` | IntFunctions.`between(int from, int to)` Constructs a function that returns `(from<=a && a<=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 < 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 << 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 IntFunction
Modifier and Type | Method and Description
--- | ---
`static 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 IntFunction
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractContinousDistribution` Abstract base class for all continous distributions.
`class` | `AbstractDiscreteDistribution` Abstract base class for all discrete distributions.
`class` | `AbstractDistribution` Abstract base class for all random distributions.
`class` | `Beta` Beta distribution; math definition and animated definition.
`class` | `Binomial` Binomial distribution; See the math definition and animated definition.
`class` | `BreitWigner` BreitWigner (aka Lorentz) distribution; See the math definition.
`class` | `BreitWignerMeanSquare` Mean-square BreitWigner distribution; See the math definition.
`class` | `ChiSquare` ChiSquare distribution; See the math definition and animated definition.
`class` | `Empirical` Empirical distribution.
`class` | `EmpiricalWalker` Discrete Empirical distribution (pdf's can be specified).
`class` | `Exponential` Exponential Distribution (aka Negative Exponential Distribution); See the math definition animated definition.
`class` | `ExponentialPower` Exponential Power distribution.
`class` | `Gamma` Gamma distribution; math definition, definition of gamma function and animated definition.
`class` | `Hyperbolic` Hyperbolic distribution.
`class` | `HyperGeometric` 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` Logarithmic distribution.
`class` | `NegativeBinomial` Negative Binomial distribution; See the math definition.
`class` | `Normal` Normal (aka Gaussian) distribution; See the math definition and animated definition.
`class` | `Poisson` Poisson distribution (quick); See the math definition and animated definition.
`class` | `PoissonSlow` Poisson distribution; See the math definition and animated definition.
`class` | `StudentT` StudentT distribution (aka T-distribution); See the math definition and animated definition.
`class` | `Uniform` Uniform distribution; Math definition and animated definition.
`class` | `VonMises` Von Mises distribution.
`class` | `Zeta` Zeta distribution.

### Uses of IntFunction in cern.jet.random.engine

Classes in cern.jet.random.engine that implement IntFunction
Modifier and Type | Class and Description
--- | ---
`class` | `DRand` Quick medium quality uniform pseudo-random number generator.
`class` | `MersenneTwister` MersenneTwister (MT19937) is one of the strongest uniform pseudo-random number generators known so far; at the same time it is quick.
`class` | `MersenneTwister64` Same as `MersenneTwister` except that method `raw()` returns 64 bit random numbers instead of 32 bit random numbers.
`class` | `RandomEngine` Abstract base class for uniform pseudo-random number generating engines.