Uses of Interface
cern.colt.function.DoubleFunction
Packages that use DoubleFunction
Package
Description
Automatically growing and shrinking maps holding objects or primitive
data types such as int, double, etc.
Matrix interfaces and factories; efficient and flexible dense and sparse
1, 2, 3 and d-dimensional matrices holding objects or primitive data types such
as int, double, etc; Templated, fixed sized (not dynamically
resizable); Also known as multi-dimensional arrays or Data Cubes.
Matrix implementations; You normally need not look at this package, because all concrete classes implement the abstract interfaces of
cern.colt.matrix
, without subsetting or supersetting.Linear Algebraic matrix computations operating on
DoubleMatrix2D
and DoubleMatrix1D
.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.
Multisets (bags) with efficient statistics operations defined upon; This package
requires the Colt distribution.
-
Uses of DoubleFunction in cern.colt.map
Methods in cern.colt.map with parameters of type DoubleFunctionModifier and TypeMethodDescriptionvoid
AbstractIntDoubleMap.assign
(DoubleFunction function) Assigns the result of a function to each value; v[i] = function(v[i]).void
OpenIntDoubleHashMap.assign
(DoubleFunction function) Assigns the result of a function to each value; v[i] = function(v[i]). -
Uses of DoubleFunction in cern.colt.matrix
Methods in cern.colt.matrix with parameters of type DoubleFunctionModifier and TypeMethodDescriptiondouble
DoubleMatrix1D.aggregate
(DoubleDoubleFunction aggr, DoubleFunction f) Applies a function to each cell and aggregates the results.double
DoubleMatrix2D.aggregate
(DoubleDoubleFunction aggr, DoubleFunction f) Applies a function to each cell and aggregates the results.double
DoubleMatrix3D.aggregate
(DoubleDoubleFunction aggr, DoubleFunction f) Applies a function to each cell and aggregates the results.DoubleMatrix1D.assign
(DoubleFunction function) Assigns the result of a function to each cell; x[i] = function(x[i]).DoubleMatrix2D.assign
(DoubleFunction function) Assigns the result of a function to each cell; x[row,col] = function(x[row,col]).DoubleMatrix3D.assign
(DoubleFunction function) Assigns the result of a function to each cell; x[slice,row,col] = function(x[slice,row,col]). -
Uses of DoubleFunction in cern.colt.matrix.impl
Methods in cern.colt.matrix.impl with parameters of type DoubleFunctionModifier and TypeMethodDescriptionDenseDoubleMatrix1D.assign
(DoubleFunction function) Assigns the result of a function to each cell; x[i] = function(x[i]).DenseDoubleMatrix2D.assign
(DoubleFunction function) Assigns the result of a function to each cell; x[row,col] = function(x[row,col]).RCDoubleMatrix2D.assign
(DoubleFunction function) SparseDoubleMatrix2D.assign
(DoubleFunction function) Assigns the result of a function to each cell; x[row,col] = function(x[row,col]).TridiagonalDoubleMatrix2D.assign
(DoubleFunction function) -
Uses of DoubleFunction in cern.colt.matrix.linalg
Methods in cern.colt.matrix.linalg with parameters of type DoubleFunctionModifier and TypeMethodDescriptionvoid
Blas.assign
(DoubleMatrix2D A, DoubleFunction function) Assigns the result of a function to each cell; x[row,col] = function(x[row,col]).void
SeqBlas.assign
(DoubleMatrix2D A, DoubleFunction function) void
SmpBlas.assign
(DoubleMatrix2D A, DoubleFunction function) -
Uses of DoubleFunction in cern.jet.math
Classes in cern.jet.math that implement DoubleFunctionModifier and TypeClassDescriptionfinal class
Only for performance tuning of compute intensive linear algebraic computations.Fields in cern.jet.math declared as DoubleFunctionModifier and TypeFieldDescriptionstatic final DoubleFunction
Functions.abs
Function that returns Math.abs(a).static final DoubleFunction
Functions.acos
Function that returns Math.acos(a).static final DoubleFunction
Functions.asin
Function that returns Math.asin(a).static final DoubleFunction
Functions.atan
Function that returns Math.atan(a).static final DoubleFunction
Functions.ceil
Function that returns Math.ceil(a).static final DoubleFunction
Functions.cos
Function that returns Math.cos(a).static final DoubleFunction
Functions.exp
Function that returns Math.exp(a).static final DoubleFunction
Functions.floor
Function that returns Math.floor(a).static final DoubleFunction
Functions.identity
Function that returns its argument.static final DoubleFunction
Functions.inv
Function that returns 1.0 / a.static final DoubleFunction
Functions.log
Function that returns Math.log(a).static final DoubleFunction
Functions.log2
Function that returns Math.log(a) / Math.log(2).static final DoubleFunction
Functions.neg
Function that returns -a.static final DoubleFunction
Functions.rint
Function that returns Math.rint(a).static final DoubleFunction
Functions.sign
Function that returns a invalid input: '<' 0 ? -1 : a > 0 ? 1 : 0.static final DoubleFunction
Functions.sin
Function that returns Math.sin(a).static final DoubleFunction
Functions.sqrt
Function that returns Math.sqrt(a).static final DoubleFunction
Functions.square
Function that returns a * a.static final DoubleFunction
Functions.tan
Function that returns Math.tan(a).Methods in cern.jet.math that return DoubleFunctionModifier and TypeMethodDescriptionstatic DoubleFunction
Functions.between
(double from, double to) Constructs a function that returns (frominvalid input: '<'=a invalid input: '&'invalid input: '&' ainvalid input: '<'=to) ? 1 : 0.static DoubleFunction
Functions.bindArg1
(DoubleDoubleFunction function, double c) Constructs a unary function from a binary function with the first operand (argument) fixed to the given constant c.static DoubleFunction
Functions.bindArg2
(DoubleDoubleFunction function, double c) Constructs a unary function from a binary function with the second operand (argument) fixed to the given constant c.static DoubleFunction
Functions.chain
(DoubleFunction g, DoubleFunction h) Constructs the function g( h(a) ).static DoubleFunction
Functions.compare
(double b) Constructs a function that returns a invalid input: '<' b ? -1 : a > b ? 1 : 0.static DoubleFunction
Functions.constant
(double c) Constructs a function that returns the constant c.static DoubleFunction
Functions.div
(double b) Constructs a function that returns a / b.static DoubleFunction
Functions.equals
(double b) Constructs a function that returns a == b ? 1 : 0.static DoubleFunction
Functions.greater
(double b) Constructs a function that returns a > b ? 1 : 0.static DoubleFunction
Functions.IEEEremainder
(double b) Constructs a function that returns Math.IEEEremainder(a,b).static DoubleFunction
Functions.less
(double b) Constructs a function that returns a invalid input: '<' b ? 1 : 0.static DoubleFunction
Functions.lg
(double b) Constructs a function that returns Math.log(a) / Math.log(b).static DoubleFunction
Functions.max
(double b) Constructs a function that returns Math.max(a,b).static DoubleFunction
Functions.min
(double b) Constructs a function that returns Math.min(a,b).static DoubleFunction
Functions.minus
(double b) Constructs a function that returns a - b.static DoubleFunction
Functions.mod
(double b) Constructs a function that returns a % b.static DoubleFunction
Functions.mult
(double b) Constructs a function that returns a * b.static DoubleFunction
Functions.plus
(double b) Constructs a function that returns a + b.static DoubleFunction
Functions.pow
(double b) Constructs a function that returns Math.pow(a,b).static DoubleFunction
Functions.random()
Constructs a function that returns a new uniform random number in the open unit interval(0.0,1.0)
(excluding 0.0 and 1.0).static DoubleFunction
Functions.round
(double precision) Constructs a function that returns the number rounded to the given precision; Math.rint(a/precision)*precision.Methods in cern.jet.math with parameters of type DoubleFunctionModifier and TypeMethodDescriptionstatic DoubleDoubleFunction
Functions.chain
(DoubleDoubleFunction f, DoubleFunction g, DoubleFunction h) Constructs the function f( g(a), h(b) ).static DoubleDoubleFunction
Functions.chain
(DoubleFunction g, DoubleDoubleFunction h) Constructs the function g( h(a,b) ).static DoubleFunction
Functions.chain
(DoubleFunction g, DoubleFunction h) Constructs the function g( h(a) ). -
Uses of DoubleFunction in cern.jet.random
Classes in cern.jet.random that implement DoubleFunctionModifier 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 DoubleFunction in cern.jet.random.engine
Classes in cern.jet.random.engine that implement DoubleFunctionModifier 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. -
Uses of DoubleFunction in hep.aida.bin
Methods in hep.aida.bin with parameters of type DoubleFunctionModifier and TypeMethodDescriptiondouble
DynamicBin1D.aggregate
(DoubleDoubleFunction aggr, DoubleFunction f) Applies a function to each element and aggregates the results.