Package | Description |
---|---|
cern.colt |
Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
|
cern.colt.buffer.tdouble |
Fixed sized (non resizable) streaming buffers holding double elements connected to a target objects to which data is automatically flushed upon buffer overflow.
|
cern.colt.list.tdouble |
Resizable list holding elements of double data type.
|
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.impl |
Efficient and flexible dense and sparse 1, 2 and 3-dimensional matrices holding elements of double data type.
|
cern.jet.stat.tdouble |
Tools for basic and advanced statistics: Estimators, Gamma functions, Beta functions, Probabilities, Special integrals, etc.
|
cern.jet.stat.tdouble.quantile |
Scalable algorithms and data structures to compute approximate quantiles over very large data sequences.
|
hep.aida.tdouble.bin |
Multisets (bags) with efficient statistics operations defined upon; This package
requires the Colt distribution.
|
Modifier and Type | Method and Description |
---|---|
static void |
Partitioning.partition(DoubleArrayList list,
int from,
int to,
DoubleArrayList splitters,
IntArrayList splitIndexes)
Equivalent to
partition(list.elements(), from, to, splitters.elements(), 0, splitters.size()-1, splitIndexes.elements())
.
|
Modifier and Type | Method and Description |
---|---|
void |
DoubleBufferConsumer.addAllOf(DoubleArrayList list)
Adds all elements of the specified list to the receiver.
|
void |
DoubleBuffer.addAllOf(DoubleArrayList list)
Adds all elements of the specified list to the receiver.
|
void |
DoubleBuffer2DConsumer.addAllOf(DoubleArrayList x,
DoubleArrayList y)
Adds all specified (x,y) points to the receiver.
|
void |
DoubleBuffer2D.addAllOf(DoubleArrayList x,
DoubleArrayList y)
Adds all specified points (x,y) to the receiver.
|
void |
DoubleBuffer3D.addAllOf(DoubleArrayList xElements,
DoubleArrayList yElements,
DoubleArrayList zElements)
Adds all specified (x,y,z) points to the receiver.
|
void |
DoubleBuffer3DConsumer.addAllOf(DoubleArrayList x,
DoubleArrayList y,
DoubleArrayList z)
Adds all specified (x,y,z) points to the receiver.
|
Modifier and Type | Method and Description |
---|---|
DoubleArrayList |
DoubleArrayList.copy()
Returns a deep copy of the receiver; uses
clone() and casts
the result. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDoubleList.addAllOf(DoubleArrayList other)
Appends all elements of the specified list to the receiver.
|
Modifier and Type | Method and Description |
---|---|
DoubleArrayList |
AbstractDoubleIntMap.keys()
Returns a list filled with all keys contained in the receiver.
|
DoubleArrayList |
AbstractDoubleLongMap.keys()
Returns a list filled with all keys contained in the receiver.
|
DoubleArrayList |
AbstractIntDoubleMap.values()
Returns a list filled with all values contained in the receiver.
|
DoubleArrayList |
AbstractLongDoubleMap.values()
Returns a list filled with all values contained in the receiver.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDoubleIntMap.keys(DoubleArrayList list)
Fills all keys contained in the receiver into the specified list.
|
void |
OpenDoubleLongHashMap.keys(DoubleArrayList list)
Fills all keys contained in the receiver into the specified list.
|
void |
OpenDoubleIntHashMap.keys(DoubleArrayList list)
Fills all keys contained in the receiver into the specified list.
|
void |
AbstractDoubleLongMap.keys(DoubleArrayList list)
Fills all keys contained in the receiver into the specified list.
|
void |
AbstractDoubleIntMap.keysSortedByValue(DoubleArrayList keyList)
Fills all keys sorted ascending by their associated value into the
specified list.
|
void |
AbstractDoubleLongMap.keysSortedByValue(DoubleArrayList keyList)
Fills all keys sorted ascending by their associated value into the
specified list.
|
void |
AbstractDoubleIntMap.pairsMatching(DoubleIntProcedure condition,
DoubleArrayList keyList,
IntArrayList valueList)
Fills all pairs satisfying a given condition into the specified lists.
|
void |
OpenDoubleIntHashMap.pairsMatching(DoubleIntProcedure condition,
DoubleArrayList keyList,
IntArrayList valueList)
Fills all pairs satisfying a given condition into the specified lists.
|
void |
OpenDoubleLongHashMap.pairsMatching(DoubleLongProcedure condition,
DoubleArrayList keyList,
LongArrayList valueList)
Fills all pairs satisfying a given condition into the specified lists.
|
void |
AbstractDoubleLongMap.pairsMatching(DoubleLongProcedure condition,
DoubleArrayList keyList,
LongArrayList valueList)
Fills all pairs satisfying a given condition into the specified lists.
|
void |
AbstractIntDoubleMap.pairsMatching(IntDoubleProcedure condition,
IntArrayList keyList,
DoubleArrayList valueList)
Fills all pairs satisfying a given condition into the specified lists.
|
void |
OpenIntDoubleHashMap.pairsMatching(IntDoubleProcedure condition,
IntArrayList keyList,
DoubleArrayList valueList)
Fills all pairs satisfying a given condition into the specified lists.
|
void |
OpenLongDoubleHashMap.pairsMatching(LongDoubleProcedure condition,
LongArrayList keyList,
DoubleArrayList valueList)
Fills all pairs satisfying a given condition into the specified lists.
|
void |
AbstractLongDoubleMap.pairsMatching(LongDoubleProcedure condition,
LongArrayList keyList,
DoubleArrayList valueList)
Fills all pairs satisfying a given condition into the specified lists.
|
void |
AbstractDoubleIntMap.pairsSortedByKey(DoubleArrayList keyList,
IntArrayList valueList)
Fills all keys and values sorted ascending by key into the
specified lists.
|
void |
AbstractDoubleLongMap.pairsSortedByKey(DoubleArrayList keyList,
LongArrayList valueList)
Fills all keys and values sorted ascending by key into the
specified lists.
|
void |
AbstractIntDoubleMap.pairsSortedByKey(IntArrayList keyList,
DoubleArrayList valueList)
Fills all keys and values sorted ascending by key into the
specified lists.
|
void |
AbstractLongDoubleMap.pairsSortedByKey(LongArrayList keyList,
DoubleArrayList valueList)
Fills all keys and values sorted ascending by key into the
specified lists.
|
void |
AbstractDoubleIntMap.pairsSortedByValue(DoubleArrayList keyList,
IntArrayList valueList)
Fills all keys and values sorted ascending by value into the
specified lists.
|
void |
AbstractDoubleLongMap.pairsSortedByValue(DoubleArrayList keyList,
LongArrayList valueList)
Fills all keys and values sorted ascending by value into the
specified lists.
|
void |
AbstractIntDoubleMap.pairsSortedByValue(IntArrayList keyList,
DoubleArrayList valueList)
Fills all keys and values sorted ascending by value into the
specified lists.
|
void |
AbstractLongDoubleMap.pairsSortedByValue(LongArrayList keyList,
DoubleArrayList valueList)
Fills all keys and values sorted ascending by value into the
specified lists.
|
void |
AbstractIntDoubleMap.values(DoubleArrayList list)
Fills all values contained in the receiver into the specified list.
|
void |
OpenLongDoubleHashMap.values(DoubleArrayList list)
Fills all values contained in the receiver into the specified list.
|
void |
AbstractLongDoubleMap.values(DoubleArrayList list)
Fills all values contained in the receiver into the specified list.
|
void |
OpenIntDoubleHashMap.values(DoubleArrayList list)
Fills all values contained in the receiver into the specified list.
|
Modifier and Type | Method and Description |
---|---|
DoubleArrayList |
DoubleFactory1D.toList(DoubleMatrix1D values)
Constructs a list from the given matrix.
|
Modifier and Type | Method and Description |
---|---|
void |
DoubleMatrix1D.getNegativeValues(IntArrayList indexList,
DoubleArrayList valueList)
Fills the coordinates and values of cells having negative values into the
specified lists.
|
void |
DoubleMatrix2D.getNegativeValues(IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList)
Fills the coordinates and values of cells having negative values into the
specified lists.
|
void |
DoubleMatrix3D.getNegativeValues(IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList)
Fills the coordinates and values of cells having negative values into the
specified lists.
|
void |
DoubleMatrix1D.getNonZeros(IntArrayList indexList,
DoubleArrayList valueList)
Fills the coordinates and values of cells having non-zero values into the
specified lists.
|
void |
DoubleMatrix1D.getNonZeros(IntArrayList indexList,
DoubleArrayList valueList,
int maxCardinality)
Fills the coordinates and values of the first maxCardinality
cells having non-zero values into the specified lists.
|
void |
DoubleMatrix2D.getNonZeros(IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList)
Fills the coordinates and values of cells having non-zero values into the
specified lists.
|
void |
DoubleMatrix3D.getNonZeros(IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList)
Fills the coordinates and values of cells having non-zero values into the
specified lists.
|
void |
DoubleMatrix1D.getPositiveValues(IntArrayList indexList,
DoubleArrayList valueList)
Fills the coordinates and values of cells having positive values into the
specified lists.
|
void |
DoubleMatrix2D.getPositiveValues(IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList)
Fills the coordinates and values of cells having positive values into the
specified lists.
|
void |
DoubleMatrix3D.getPositiveValues(IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList)
Fills the coordinates and values of cells having positive values into the
specified lists.
|
Modifier and Type | Method and Description |
---|---|
void |
DenseDoubleMatrix1D.getNegativeValues(IntArrayList indexList,
DoubleArrayList valueList) |
void |
DenseDoubleMatrix2D.getNegativeValues(IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList) |
void |
DenseColumnDoubleMatrix2D.getNegativeValues(IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList) |
void |
DenseDoubleMatrix3D.getNegativeValues(IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList) |
void |
DenseDoubleMatrix1D.getNonZeros(IntArrayList indexList,
DoubleArrayList valueList) |
void |
DenseDoubleMatrix2D.getNonZeros(IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList) |
void |
DenseColumnDoubleMatrix2D.getNonZeros(IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList) |
void |
DenseDoubleMatrix3D.getNonZeros(IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList) |
void |
DenseDoubleMatrix1D.getPositiveValues(IntArrayList indexList,
DoubleArrayList valueList) |
void |
DenseDoubleMatrix2D.getPositiveValues(IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList) |
void |
DenseColumnDoubleMatrix2D.getPositiveValues(IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList) |
void |
DenseDoubleMatrix3D.getPositiveValues(IntArrayList sliceList,
IntArrayList rowList,
IntArrayList columnList,
DoubleArrayList valueList) |
Modifier and Type | Method and Description |
---|---|
static DoubleArrayList |
DoubleDescriptive.quantiles(DoubleArrayList sortedData,
DoubleArrayList percentages)
Returns the quantiles of the specified percentages.
|
static DoubleArrayList[] |
DoubleDescriptive.split(DoubleArrayList sortedList,
DoubleArrayList splitters)
Splits (partitions) a list into sublists such that each sublist contains
the elements with a given range.
|
Modifier and Type | Method and Description |
---|---|
static double |
DoubleDescriptive.autoCorrelation(DoubleArrayList data,
int lag,
double mean,
double variance)
Returns the auto-correlation of a data sequence.
|
static double |
DoubleDescriptive.correlation(DoubleArrayList data1,
double standardDev1,
DoubleArrayList data2,
double standardDev2)
Returns the correlation of two data sequences.
|
static double |
DoubleDescriptive.covariance(DoubleArrayList data1,
DoubleArrayList data2)
Returns the covariance of two data sequences, which is
cov(x,y) = (1/(size()-1)) * Sum((x[i]-mean(x)) * (y[i]-mean(y)))
.
|
static double |
DoubleDescriptive.durbinWatson(DoubleArrayList data)
Durbin-Watson computation.
|
static void |
DoubleDescriptive.frequencies(DoubleArrayList sortedData,
DoubleArrayList distinctValues,
IntArrayList frequencies)
Computes the frequency (number of occurances, count) of each distinct
value in the given sorted data.
|
static double |
DoubleDescriptive.geometricMean(DoubleArrayList data)
Returns the geometric mean of a data sequence.
|
static void |
DoubleDescriptive.incrementalUpdate(DoubleArrayList data,
int from,
int to,
double[] inOut)
Incrementally maintains and updates minimum, maximum, sum and sum of
squares of a data sequence.
|
static void |
DoubleDescriptive.incrementalUpdateSumsOfPowers(DoubleArrayList data,
int from,
int to,
int fromSumIndex,
int toSumIndex,
double[] sumOfPowers)
Incrementally maintains and updates various sums of powers of the form
Sum(data[i]k).
|
static void |
DoubleDescriptive.incrementalWeightedUpdate(DoubleArrayList data,
DoubleArrayList weights,
int from,
int to,
double[] inOut)
Incrementally maintains and updates sum and sum of squares of a
weighted data sequence.
|
static double |
DoubleDescriptive.kurtosis(DoubleArrayList data,
double mean,
double standardDeviation)
Returns the kurtosis (aka excess) of a data sequence, which is
-3 + moment(data,4,mean) / standardDeviation4.
|
static double |
DoubleDescriptive.lag1(DoubleArrayList data,
double mean)
Returns the lag-1 autocorrelation of a dataset; Note that this method has
semantics different from autoCorrelation(..., 1);
|
static double |
DoubleDescriptive.max(DoubleArrayList data)
Returns the largest member of a data sequence.
|
static double |
DoubleDescriptive.mean(DoubleArrayList data)
Returns the arithmetic mean of a data sequence; That is
Sum( data[i] ) / data.size().
|
static double |
DoubleDescriptive.meanDeviation(DoubleArrayList data,
double mean)
Returns the mean deviation of a dataset.
|
static double |
DoubleDescriptive.median(DoubleArrayList sortedData)
Returns the median of a sorted data sequence.
|
static double |
DoubleDescriptive.min(DoubleArrayList data)
Returns the smallest member of a data sequence.
|
static double |
DoubleDescriptive.moment(DoubleArrayList data,
int k,
double c)
Returns the moment of k-th order with constant c of a
data sequence, which is
Sum( (data[i]-c)k ) / data.size().
|
static double |
DoubleDescriptive.product(DoubleArrayList data)
Returns the product of a data sequence, which is Prod( data[i] )
.
|
static double |
DoubleDescriptive.quantile(DoubleArrayList sortedData,
double phi)
Returns the phi-quantile; that is, an element elem for
which holds that phi percent of data elements are less than
elem.
|
static double |
DoubleDescriptive.quantileInverse(DoubleArrayList sortedList,
double element)
Returns how many percent of the elements contained in the receiver are
<= element.
|
static DoubleArrayList |
DoubleDescriptive.quantiles(DoubleArrayList sortedData,
DoubleArrayList percentages)
Returns the quantiles of the specified percentages.
|
static double |
DoubleDescriptive.rankInterpolated(DoubleArrayList sortedList,
double element)
Returns the linearly interpolated number of elements in a list less or
equal to a given element.
|
static double |
DoubleDescriptive.sampleKurtosis(DoubleArrayList data,
double mean,
double sampleVariance)
Returns the sample kurtosis (aka excess) of a data sequence.
|
static double |
DoubleDescriptive.sampleSkew(DoubleArrayList data,
double mean,
double sampleVariance)
Returns the sample skew of a data sequence.
|
static double |
DoubleDescriptive.sampleVariance(DoubleArrayList data,
double mean)
Returns the sample variance of a data sequence.
|
static double |
DoubleDescriptive.skew(DoubleArrayList data,
double mean,
double standardDeviation)
Returns the skew of a data sequence, which is
moment(data,3,mean) / standardDeviation3.
|
static DoubleArrayList[] |
DoubleDescriptive.split(DoubleArrayList sortedList,
DoubleArrayList splitters)
Splits (partitions) a list into sublists such that each sublist contains
the elements with a given range.
|
static void |
DoubleDescriptive.standardize(DoubleArrayList data,
double mean,
double standardDeviation)
Modifies a data sequence to be standardized.
|
static double |
DoubleDescriptive.sum(DoubleArrayList data)
Returns the sum of a data sequence.
|
static double |
DoubleDescriptive.sumOfInversions(DoubleArrayList data,
int from,
int to)
Returns the sum of inversions of a data sequence, which is
Sum( 1.0 / data[i]).
|
static double |
DoubleDescriptive.sumOfLogarithms(DoubleArrayList data,
int from,
int to)
Returns the sum of logarithms of a data sequence, which is
Sum( Log(data[i]).
|
static double |
DoubleDescriptive.sumOfPowerDeviations(DoubleArrayList data,
int k,
double c)
Returns Sum( (data[i]-c)k ); optimized for common
parameters like c == 0.0 and/or k == -2 ..
|
static double |
DoubleDescriptive.sumOfPowerDeviations(DoubleArrayList data,
int k,
double c,
int from,
int to)
Returns Sum( (data[i]-c)k ) for all
i = from ..
|
static double |
DoubleDescriptive.sumOfPowers(DoubleArrayList data,
int k)
Returns the sum of powers of a data sequence, which is
Sum ( data[i]k ).
|
static double |
DoubleDescriptive.sumOfSquares(DoubleArrayList data)
Returns the sum of squares of a data sequence.
|
static double |
DoubleDescriptive.trimmedMean(DoubleArrayList sortedData,
double mean,
int left,
int right)
Returns the trimmed mean of a sorted data sequence.
|
static double |
DoubleDescriptive.weightedMean(DoubleArrayList data,
DoubleArrayList weights)
Returns the weighted mean of a data sequence.
|
static double |
DoubleDescriptive.winsorizedMean(DoubleArrayList sortedData,
double mean,
int left,
int right)
Returns the winsorized mean of a sorted data sequence.
|
Modifier and Type | Field and Description |
---|---|
DoubleArrayList |
ExactDoubleQuantileFinder.buffer |
Modifier and Type | Method and Description |
---|---|
static DoubleArrayList |
DoubleQuantileFinderFactory.newEquiDepthPhis(int quantiles)
Convenience method that computes phi's for equi-depth histograms.
|
DoubleArrayList |
DoubleQuantileFinder.quantileElements(DoubleArrayList phis)
Computes the specified quantile elements over the values previously
added.
|
DoubleArrayList |
ExactDoubleQuantileFinder.quantileElements(DoubleArrayList phis)
Computes the specified quantile elements over the values previously
added.
|
Modifier and Type | Method and Description |
---|---|
void |
DoubleQuantileFinder.addAllOf(DoubleArrayList values)
Adds all values of the specified list to the receiver.
|
void |
ExactDoubleQuantileFinder.addAllOf(DoubleArrayList values)
Adds all values of the specified list to the receiver.
|
void |
DoubleQuantileFinder.addAllOfFromTo(DoubleArrayList values,
int from,
int to)
Adds the part of the specified list between indexes from
(inclusive) and to (inclusive) to the receiver.
|
void |
ExactDoubleQuantileFinder.addAllOfFromTo(DoubleArrayList values,
int from,
int to)
Adds the part of the specified list between indexes from
(inclusive) and to (inclusive) to the receiver.
|
void |
DoubleBuffer.addAllOfFromTo(DoubleArrayList elements,
int from,
int to)
Adds a value to the receiver.
|
DoubleArrayList |
DoubleQuantileFinder.quantileElements(DoubleArrayList phis)
Computes the specified quantile elements over the values previously
added.
|
DoubleArrayList |
ExactDoubleQuantileFinder.quantileElements(DoubleArrayList phis)
Computes the specified quantile elements over the values previously
added.
|
Modifier and Type | Method and Description |
---|---|
DoubleArrayList |
DynamicDoubleBin1D.elements()
Returns a copy of the currently stored elements.
|
DoubleArrayList |
DynamicDoubleBin1D.quantiles(DoubleArrayList percentages)
Returns the exact quantiles of the specified percentages.
|
DoubleArrayList |
QuantileDoubleBin1D.quantiles(DoubleArrayList phis)
Returns the quantiles of the specified percentages.
|
DoubleArrayList |
DynamicDoubleBin1D.sortedElements()
Returns a copy of the currently stored elements, sorted ascending.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDoubleBin1D.addAllOf(DoubleArrayList list)
Adds all values of the specified list to the receiver.
|
void |
AbstractDoubleBin1D.addAllOfFromTo(DoubleArrayList list,
int from,
int to)
Adds the part of the specified list between indexes from
(inclusive) and to (inclusive) to the receiver.
|
void |
DynamicDoubleBin1D.addAllOfFromTo(DoubleArrayList list,
int from,
int to)
Adds the part of the specified list between indexes from
(inclusive) and to (inclusive) to the receiver.
|
void |
MightyStaticDoubleBin1D.addAllOfFromTo(DoubleArrayList list,
int from,
int to)
Adds the part of the specified list between indexes from
(inclusive) and to (inclusive) to the receiver.
|
void |
QuantileDoubleBin1D.addAllOfFromTo(DoubleArrayList list,
int from,
int to)
Adds the part of the specified list between indexes from
(inclusive) and to (inclusive) to the receiver.
|
void |
StaticDoubleBin1D.addAllOfFromTo(DoubleArrayList list,
int from,
int to)
Adds the part of the specified list between indexes from
(inclusive) and to (inclusive) to the receiver.
|
void |
DynamicDoubleBin1D.frequencies(DoubleArrayList distinctElements,
IntArrayList frequencies)
Computes the frequency (number of occurances, count) of each distinct
element.
|
DoubleArrayList |
DynamicDoubleBin1D.quantiles(DoubleArrayList percentages)
Returns the exact quantiles of the specified percentages.
|
DoubleArrayList |
QuantileDoubleBin1D.quantiles(DoubleArrayList phis)
Returns the quantiles of the specified percentages.
|
boolean |
DynamicDoubleBin1D.removeAllOf(DoubleArrayList list)
Removes from the receiver all elements that are contained in the
specified list.
|
MightyStaticDoubleBin1D[] |
QuantileDoubleBin1D.splitApproximately(DoubleArrayList percentages,
int k)
Divides (rebins) a copy of the receiver at the given percentage
boundaries into bins and returns these bins, such that each bin
approximately reflects the data elements of its range.
|
Jump to the Parallel Colt Homepage