Searched refs:random_sample (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dsampler_test.cc174 double AndersonDarlingStatistic(int n, double* random_sample) { argument
177 ad_sum += (2*i + 1) * log(random_sample[i] * (1 - random_sample[n-1-i]));
188 double AndersonDarlingTest(int n, double* random_sample) { argument
189 double ad_statistic = AndersonDarlingStatistic(n, random_sample);
198 scoped_array<double> random_sample(new double[n]);
200 random_sample[i] = (i+0.01)/n;
202 sort(random_sample.get(), random_sample.get() + n);
203 double ad_stat = AndersonDarlingStatistic(n, random_sample
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dsampler_test.cc174 double AndersonDarlingStatistic(int n, double* random_sample) { argument
177 ad_sum += (2*i + 1) * log(random_sample[i] * (1 - random_sample[n-1-i]));
188 double AndersonDarlingTest(int n, double* random_sample) { argument
189 double ad_statistic = AndersonDarlingStatistic(n, random_sample);
198 scoped_array<double> random_sample(new double[n]);
200 random_sample[i] = (i+0.01)/n;
202 sort(random_sample.get(), random_sample.get() + n);
203 double ad_stat = AndersonDarlingStatistic(n, random_sample
[all...]
/external/stlport/stlport/stl/
H A D_algo.h370 // random_sample and random_sample_n (extensions, not part of the standard).
384 random_sample(_InputIter __first, _InputIter __last,
390 random_sample(_InputIter __first, _InputIter __last,
H A D_algo.c558 // random_sample and random_sample_n (extensions, not part of the standard).
650 random_sample(_InputIter __first, _InputIter __last, function
660 random_sample(_InputIter __first, _InputIter __last, function

Completed in 1100 milliseconds