Package | Description |
---|---|
cern.colt.map.tdouble |
Automatically growing and shrinking map holding elements of double data type.
|
cern.colt.matrix.tdouble |
Matrix interfaces and factories holding elements of double data type.
|
cern.colt.matrix.tdouble.algo |
Linear Algebraic matrix computations operating on
DoubleMatrix2D
and DoubleMatrix1D . |
cern.colt.matrix.tdouble.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of double data type.
|
cern.jet.math.tdouble |
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.tdouble |
Large variety of probability distributions featuring high performance generation
of random numbers, CDF's and PDF's.
|
cern.jet.random.tdouble.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.
|
hep.aida.tdouble.bin |
Multisets (bags) with efficient statistics operations defined upon; This package
requires the Colt distribution.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractIntDoubleMap.assign(DoubleFunction function)
Assigns the result of a function to each value;
v[i] = function(v[i]).
|
void |
OpenLongDoubleHashMap.assign(DoubleFunction function)
Assigns the result of a function to each value;
v[i] = function(v[i]).
|
void |
AbstractLongDoubleMap.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]).
|
Modifier and Type | Method and Description |
---|---|
double |
DoubleMatrix2D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f)
Applies a function to each cell and aggregates the results.
|
double |
DoubleMatrix1D.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.
|
double |
DoubleMatrix2D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
DoubleProcedure cond)
Applies a function to each cell that satisfies a condition and aggregates
the results.
|
double |
DoubleMatrix3D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
DoubleProcedure cond)
Applies a function to each cell that satisfies a condition and aggregates
the results.
|
double |
DoubleMatrix1D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
IntArrayList indexList)
Applies a function to all cells with a given indexes and aggregates the
results.
|
double |
DoubleMatrix2D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
IntArrayList rowList,
IntArrayList columnList)
Applies a function to all cells with a given indexes and aggregates the
results.
|
double |
DoubleMatrix3D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList)
Applies a function to all cells with a given indexes and aggregates the
results.
|
DoubleMatrix2D |
DoubleMatrix2D.assign(DoubleFunction f)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col]).
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleFunction f)
Assigns the result of a function to each cell;
x[i] = function(x[i]).
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleFunction function)
Assigns the result of a function to each cell;
x[slice,row,col] = function(x[slice,row,col]).
|
DoubleMatrix2D |
DoubleMatrix2D.assign(DoubleProcedure cond,
DoubleFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleProcedure cond,
DoubleFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleProcedure cond,
DoubleFunction f)
Assigns the result of a function to all cells that satisfy a condition.
|
Modifier and Type | Method and Description |
---|---|
void |
DoubleBlas.assign(DoubleMatrix2D A,
DoubleFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col]).
|
void |
SmpDoubleBlas.assign(DoubleMatrix2D A,
DoubleFunction function) |
Modifier and Type | Class and Description |
---|---|
class |
DoubleMult
Only for performance tuning of compute intensive linear algebraic
computations.
|
Modifier and Type | Field and Description |
---|---|
static DoubleFunction |
DoubleFunctions.abs
Function that returns Math.abs(a).
|
static DoubleFunction |
DoubleFunctions.acos
Function that returns Math.acos(a).
|
static DoubleFunction |
DoubleFunctions.asin
Function that returns Math.asin(a).
|
static DoubleFunction |
DoubleFunctions.atan
Function that returns Math.atan(a).
|
static DoubleFunction |
DoubleFunctions.ceil
Function that returns Math.ceil(a).
|
static DoubleFunction |
DoubleFunctions.cos
Function that returns Math.cos(a).
|
static DoubleFunction |
DoubleFunctions.exp
Function that returns Math.exp(a).
|
static DoubleFunction |
DoubleFunctions.floor
Function that returns Math.floor(a).
|
static DoubleFunction |
DoubleFunctions.identity
Function that returns its argument.
|
static DoubleFunction |
DoubleFunctions.inv
Function that returns 1.0 / a.
|
static DoubleFunction |
DoubleFunctions.log
Function that returns Math.log(a).
|
static DoubleFunction |
DoubleFunctions.log2
Function that returns Math.log(a) / Math.log(2).
|
static DoubleFunction |
DoubleFunctions.neg
Function that returns -a.
|
static DoubleFunction |
DoubleFunctions.rint
Function that returns Math.rint(a).
|
static DoubleFunction |
DoubleFunctions.sign
Function that returns a < 0 ? -1 : a > 0 ? 1 : 0.
|
static DoubleFunction |
DoubleFunctions.sin
Function that returns Math.sin(a).
|
static DoubleFunction |
DoubleFunctions.sqrt
Function that returns Math.sqrt(a).
|
static DoubleFunction |
DoubleFunctions.square
Function that returns a * a.
|
static DoubleFunction |
DoubleFunctions.tan
Function that returns Math.tan(a).
|
Modifier and Type | Method and Description |
---|---|
static DoubleFunction |
DoubleFunctions.between(double from,
double to)
Constructs a function that returns (from<=a && a<=to) ? 1 : 0.
|
static DoubleFunction |
DoubleFunctions.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 |
DoubleFunctions.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 |
DoubleFunctions.chain(DoubleFunction g,
DoubleFunction h)
Constructs the function g( h(a) ).
|
static DoubleFunction |
DoubleFunctions.compare(double b)
Constructs a function that returns a < b ? -1 : a > b ? 1 : 0.
|
static DoubleFunction |
DoubleFunctions.constant(double c)
Constructs a function that returns the constant c.
|
static DoubleFunction |
DoubleFunctions.div(double b)
Constructs a function that returns a / b.
|
static DoubleFunction |
DoubleFunctions.equals(double b)
Constructs a function that returns a == b ? 1 : 0.
|
static DoubleFunction |
DoubleFunctions.greater(double b)
Constructs a function that returns a > b ? 1 : 0.
|
static DoubleFunction |
DoubleFunctions.IEEEremainder(double b)
Constructs a function that returns Math.IEEEremainder(a,b).
|
static DoubleFunction |
DoubleFunctions.less(double b)
Constructs a function that returns a < b ? 1 : 0.
|
static DoubleFunction |
DoubleFunctions.lg(double b)
Constructs a function that returns Math.log(a) / Math.log(b)
.
|
static DoubleFunction |
DoubleFunctions.max(double b)
Constructs a function that returns Math.max(a,b).
|
static DoubleFunction |
DoubleFunctions.min(double b)
Constructs a function that returns Math.min(a,b).
|
static DoubleFunction |
DoubleFunctions.minus(double b)
Constructs a function that returns a - b.
|
static DoubleFunction |
DoubleFunctions.mod(double b)
Constructs a function that returns a % b.
|
static DoubleFunction |
DoubleFunctions.mult(double b)
Constructs a function that returns a * b.
|
static DoubleFunction |
DoubleFunctions.plus(double b)
Constructs a function that returns a + b.
|
static DoubleFunction |
DoubleFunctions.pow(double b)
Constructs a function that returns Math.pow(a,b).
|
static DoubleFunction |
DoubleFunctions.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 |
DoubleFunctions.round(double precision)
Constructs a function that returns the number rounded to the given
precision; Math.rint(a/precision)*precision.
|
Modifier and Type | Method and Description |
---|---|
static DoubleDoubleFunction |
DoubleFunctions.chain(DoubleDoubleFunction f,
DoubleFunction g,
DoubleFunction h)
Constructs the function f( g(a), h(b) ).
|
static DoubleDoubleFunction |
DoubleFunctions.chain(DoubleFunction g,
DoubleDoubleFunction h)
Constructs the function g( h(a,b) ).
|
static DoubleFunction |
DoubleFunctions.chain(DoubleFunction g,
DoubleFunction h)
Constructs the function g( h(a) ).
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractContinousDoubleDistribution
Abstract base class for all continous distributions.
|
class |
AbstractDiscreteDistribution
Abstract base class for all discrete distributions.
|
class |
AbstractDoubleDistribution
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 |
DoubleUniform
Uniform distribution; 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
|
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 |
VonMises
Von Mises distribution.
|
class |
Zeta
Zeta distribution.
|
Modifier and Type | Class and Description |
---|---|
class |
DoubleMersenneTwister
MersenneTwister (MT19937) is one of the strongest uniform pseudo-random
number generators known so far; at the same time it is quick.
|
class |
DoubleRandomEngine
Abstract base class for uniform pseudo-random number generating engines.
|
class |
DRand
Quick medium quality uniform pseudo-random number generator.
|
class |
MersenneTwister64
Same as MersenneTwister except that method raw() returns 64
bit random numbers instead of 32 bit random numbers.
|
Modifier and Type | Method and Description |
---|---|
double |
DynamicDoubleBin1D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f)
Applies a function to each element and aggregates the results.
|
Jump to the Parallel Colt Homepage