Package | Description |
---|---|
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.
|
edu.emory.mathcs.utils |
Utility classes.
|
hep.aida.tdouble.bin |
Multisets (bags) with efficient statistics operations defined upon; This package
requires the Colt distribution.
|
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.
|
double |
DoubleMatrix1D.aggregate(DoubleMatrix1D other,
DoubleDoubleFunction aggr,
DoubleDoubleFunction f)
Applies a function to each corresponding cell of two matrices and
aggregates the results.
|
double |
DoubleMatrix2D.aggregate(DoubleMatrix2D other,
DoubleDoubleFunction aggr,
DoubleDoubleFunction f)
Applies a function to each corresponding cell of two matrices and
aggregates the results.
|
double |
DoubleMatrix3D.aggregate(DoubleMatrix3D other,
DoubleDoubleFunction aggr,
DoubleDoubleFunction f)
Applies a function to each corresponding cell of two matrices and
aggregates the results.
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D y,
DoubleDoubleFunction function)
Assigns the result of a function to each cell;
x[i] = function(x[i],y[i]).
|
DoubleMatrix1D |
DoubleMatrix1D.assign(DoubleMatrix1D y,
DoubleDoubleFunction function,
IntArrayList nonZeroIndexes)
Assigns the result of a function to each cell;
x[i] = function(x[i],y[i]).
|
DoubleMatrix2D |
DoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]).
|
DoubleMatrix2D |
DoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function,
IntArrayList rowList,
IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]).
|
DoubleMatrix3D |
DoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList)
Assigns the result of a function to all cells with a given indexes
|
Modifier and Type | Method and Description |
---|---|
static DoubleDoubleFunction |
DenseDoubleAlgebra.hypotFunction()
Returns sqrt(a^2 + b^2) without under/overflow.
|
Modifier and Type | Method and Description |
---|---|
void |
DoubleBlas.assign(DoubleMatrix2D x,
DoubleMatrix2D y,
DoubleDoubleFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]).
|
void |
SmpDoubleBlas.assign(DoubleMatrix2D A,
DoubleMatrix2D B,
DoubleDoubleFunction function) |
Modifier and Type | Method and Description |
---|---|
double |
DenseDoubleMatrix1D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f) |
double |
DenseDoubleMatrix2D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f) |
double |
DenseDoubleMatrix3D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f) |
double |
DenseColumnDoubleMatrix2D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f) |
double |
DenseDoubleMatrix2D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
DoubleProcedure cond) |
double |
DenseDoubleMatrix3D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
DoubleProcedure cond) |
double |
DenseColumnDoubleMatrix2D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
DoubleProcedure cond) |
double |
DenseDoubleMatrix1D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
IntArrayList indexList) |
double |
DenseDoubleMatrix2D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
IntArrayList rowList,
IntArrayList columnList) |
double |
DenseColumnDoubleMatrix2D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
IntArrayList rowList,
IntArrayList columnList) |
double |
DenseDoubleMatrix3D.aggregate(DoubleDoubleFunction aggr,
DoubleFunction f,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList) |
double |
DenseDoubleMatrix1D.aggregate(DoubleMatrix1D other,
DoubleDoubleFunction aggr,
DoubleDoubleFunction f) |
double |
DenseDoubleMatrix2D.aggregate(DoubleMatrix2D other,
DoubleDoubleFunction aggr,
DoubleDoubleFunction f) |
double |
DenseColumnDoubleMatrix2D.aggregate(DoubleMatrix2D other,
DoubleDoubleFunction aggr,
DoubleDoubleFunction f) |
double |
DenseDoubleMatrix3D.aggregate(DoubleMatrix3D other,
DoubleDoubleFunction aggr,
DoubleDoubleFunction f) |
DoubleMatrix1D |
DenseDoubleMatrix1D.assign(DoubleMatrix1D y,
DoubleDoubleFunction function) |
DoubleMatrix2D |
SparseCCDoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function) |
DoubleMatrix2D |
SparseRCDoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function) |
DoubleMatrix2D |
SparseDoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function) |
DoubleMatrix2D |
DiagonalDoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function) |
DoubleMatrix2D |
DenseDoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function) |
DoubleMatrix2D |
DenseColumnDoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function) |
DoubleMatrix2D |
WrapperDoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function) |
DoubleMatrix2D |
DenseDoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function,
IntArrayList rowList,
IntArrayList columnList) |
DoubleMatrix2D |
DenseColumnDoubleMatrix2D.assign(DoubleMatrix2D y,
DoubleDoubleFunction function,
IntArrayList rowList,
IntArrayList columnList) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function) |
DoubleMatrix3D |
DenseDoubleMatrix3D.assign(DoubleMatrix3D y,
DoubleDoubleFunction function,
IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList) |
SparseDoubleMatrix2D |
SparseDoubleMatrix2D.assign(int[] rowIndexes,
int[] columnIndexes,
double[] values,
DoubleDoubleFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]), where y is given
in the coordinate form.
|
SparseDoubleMatrix2D |
SparseDoubleMatrix2D.assign(int[] rowIndexes,
int[] columnIndexes,
double value,
DoubleDoubleFunction function)
Assigns the result of a function to each cell;
x[row,col] = function(x[row,col],y[row,col]), where y is given
in the coordinate form with single numerical value.
|
Modifier and Type | Class and Description |
---|---|
class |
DoublePlusMultFirst
Only for performance tuning of compute intensive linear algebraic
computations.
|
class |
DoublePlusMultSecond
Only for performance tuning of compute intensive linear algebraic
computations.
|
Modifier and Type | Field and Description |
---|---|
static DoubleDoubleFunction |
DoubleFunctions.atan2
Function that returns Math.atan2(a,b).
|
static DoubleDoubleFunction |
DoubleFunctions.compare
Function that returns a < b ? -1 : a > b ? 1 : 0.
|
static DoubleDoubleFunction |
DoubleFunctions.div
Function that returns a / b.
|
static DoubleDoubleFunction |
DoubleFunctions.divNeg
Function that returns -(a / b).
|
static DoubleDoubleFunction |
DoubleFunctions.equals
Function that returns a == b ? 1 : 0.
|
static DoubleDoubleFunction |
DoubleFunctions.greater
Function that returns a > b ? 1 : 0.
|
static DoubleDoubleFunction |
DoubleFunctions.IEEEremainder
Function that returns Math.IEEEremainder(a,b).
|
static DoubleDoubleFunction |
DoubleFunctions.less
Function that returns a < b ? 1 : 0.
|
static DoubleDoubleFunction |
DoubleFunctions.lg
Function that returns Math.log(a) / Math.log(b).
|
static DoubleDoubleFunction |
DoubleFunctions.max
Function that returns Math.max(a,b).
|
static DoubleDoubleFunction |
DoubleFunctions.min
Function that returns Math.min(a,b).
|
static DoubleDoubleFunction |
DoubleFunctions.minus
Function that returns a - b.
|
static DoubleDoubleFunction |
DoubleFunctions.mod
Function that returns a % b.
|
static DoubleDoubleFunction |
DoubleFunctions.mult
Function that returns a * b.
|
static DoubleDoubleFunction |
DoubleFunctions.multNeg
Function that returns -(a * b).
|
static DoubleDoubleFunction |
DoubleFunctions.multSquare
Function that returns a * b^2.
|
static DoubleDoubleFunction |
DoubleFunctions.plus
Function that returns a + b.
|
static DoubleDoubleFunction |
DoubleFunctions.plusAbs
Function that returns Math.abs(a) + Math.abs(b).
|
static DoubleDoubleFunction |
DoubleFunctions.pow
Function that returns Math.pow(a,b).
|
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 DoubleDoubleFunction |
DoubleFunctions.minusMult(double constant)
Constructs a function that returns a - b*constant.
|
static DoubleDoubleFunction |
DoubleFunctions.multSecond(double constant)
Constructs a function that returns b*constant.
|
static DoubleDoubleFunction |
DoubleFunctions.plusMultFirst(double constant)
Constructs a function that returns a * constant + b.
|
static DoubleDoubleFunction |
DoubleFunctions.plusMultSecond(double constant)
Constructs a function that returns a + b*constant.
|
static DoubleDoubleFunction |
DoubleFunctions.swapArgs(DoubleDoubleFunction function)
Constructs a function that returns function.apply(b,a), i.e.
|
Modifier and Type | Method and Description |
---|---|
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 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 DoubleDoubleFunction |
DoubleFunctions.swapArgs(DoubleDoubleFunction function)
Constructs a function that returns function.apply(b,a), i.e.
|
Modifier and Type | Method and Description |
---|---|
static double |
ConcurrencyUtils.waitForCompletion(Future<?>[] futures,
DoubleDoubleFunction aggr)
Waits for all threads to complete computation and aggregates the result.
|
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