Package | Description |
---|---|
cern.colt.matrix.tfloat.algo |
Linear Algebraic matrix computations operating on
FloatMatrix2D
and FloatMatrix1D . |
cern.jet.random.tfloat |
Large variety of probability distributions featuring high performance generation
of random numbers, CDF's and PDF's.
|
cern.jet.random.tfloat.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.
|
cern.jet.random.tfloat.sampling |
Samples (picks) random subsets of data sequences.
|
cern.jet.stat.tfloat.quantile |
Scalable algorithms and data structures to compute approximate quantiles over very large data sequences.
|
hep.aida.tfloat.bin |
Multisets (bags) with efficient statistics operations defined upon; This package
requires the Colt distribution.
|
Modifier and Type | Method and Description |
---|---|
static FloatMatrix1D |
FloatStatistic.viewSample(FloatMatrix1D matrix,
float fraction,
FloatRandomEngine randomGenerator)
Constructs and returns a sampling view with a size of
round(matrix.size() * fraction).
|
static FloatMatrix2D |
FloatStatistic.viewSample(FloatMatrix2D matrix,
float rowFraction,
float columnFraction,
FloatRandomEngine randomGenerator)
Constructs and returns a sampling view with
round(matrix.rows() * rowFraction) rows and
round(matrix.columns() * columnFraction) columns.
|
static FloatMatrix3D |
FloatStatistic.viewSample(FloatMatrix3D matrix,
float sliceFraction,
float rowFraction,
float columnFraction,
FloatRandomEngine randomGenerator)
Constructs and returns a sampling view with
round(matrix.slices() * sliceFraction) slices and
round(matrix.rows() * rowFraction) rows and
round(matrix.columns() * columnFraction) columns.
|
Modifier and Type | Method and Description |
---|---|
static FloatRandomEngine |
AbstractFloatDistribution.makeDefaultGenerator()
Constructs and returns a new uniform random number generation engine
seeded with the current time.
|
Modifier and Type | Method and Description |
---|---|
static void |
FloatUniform.staticSetRandomEngine(FloatRandomEngine randomGenerator)
Sets the uniform random number generation engine shared by all
static methods.
|
Constructor and Description |
---|
FloatUniform(float min,
float max,
FloatRandomEngine randomGenerator)
Constructs a uniform distribution with the given minimum and maximum.
|
FloatUniform(FloatRandomEngine randomGenerator)
Constructs a uniform distribution with min=0.0 and
max=1.0.
|
Modifier and Type | Class and Description |
---|---|
class |
FloatMersenneTwister
MersenneTwister (MT19937) is one of the strongest uniform pseudo-random
number generators known so far; at the same time it is quick.
|
class |
FRand
Quick medium quality uniform pseudo-random number generator.
|
Modifier and Type | Method and Description |
---|---|
static FloatRandomEngine |
FloatRandomEngine.makeDefault()
Constructs and returns a new uniform random number engine seeded with the
current time.
|
Modifier and Type | Method and Description |
---|---|
FloatRandomEngine |
FloatRandomSamplingAssistant.getRandomGenerator()
Returns the used random generator.
|
Modifier and Type | Method and Description |
---|---|
static void |
FloatRandomSampler.sample(long n,
long N,
int count,
long low,
long[] values,
int fromIndex,
FloatRandomEngine randomGenerator)
Efficiently computes a sorted random set of count elements from
the interval [low,low+N-1].
|
Constructor and Description |
---|
FloatRandomSampler(long n,
long N,
long low,
FloatRandomEngine randomGenerator)
Constructs a random sampler that computes and delivers sorted random sets
in blocks.
|
FloatRandomSamplingAssistant(long n,
long N,
FloatRandomEngine randomGenerator)
Constructs a random sampler that samples n random elements from
an input sequence of N elements.
|
WeightedFloatRandomSampler(int weight,
FloatRandomEngine randomGenerator)
Chooses exactly one random element from successive blocks of
weight input elements each.
|
Modifier and Type | Method and Description |
---|---|
static FloatQuantileFinder |
FloatQuantileFinderFactory.newFloatQuantileFinder(boolean known_N,
long N,
float epsilon,
float delta,
int quantiles,
FloatRandomEngine generator)
Returns a quantile finder that minimizes the amount of memory needed
under the user provided constraints.
|
Modifier and Type | Method and Description |
---|---|
void |
DynamicFloatBin1D.sample(int n,
boolean withReplacement,
FloatRandomEngine randomGenerator,
FloatBuffer buffer)
Uniformly samples (chooses) n random elements with or without
replacement from the contained elements and adds them to the given
buffer.
|
DynamicFloatBin1D |
DynamicFloatBin1D.sampleBootstrap(DynamicFloatBin1D other,
int resamples,
FloatRandomEngine randomGenerator,
FloatBinBinFunction1D function)
Generic bootstrap resampling.
|
Constructor and Description |
---|
QuantileFloatBin1D(boolean known_N,
long N,
float epsilon,
float delta,
int quantiles,
FloatRandomEngine randomGenerator)
Equivalent to
new QuantileBin1D(known_N, N, epsilon, delta, quantiles, randomGenerator, false, false, 2)
.
|
QuantileFloatBin1D(boolean known_N,
long N,
float epsilon,
float delta,
int quantiles,
FloatRandomEngine randomGenerator,
boolean hasSumOfLogarithms,
boolean hasSumOfInversions,
int maxOrderForSumOfPowers)
Constructs and returns an empty bin that, under the given constraints,
minimizes the amount of memory needed.
|
Jump to the Parallel Colt Homepage