Searched refs:probability (Results 1 - 25 of 34) sorted by relevance

12

/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DDiscreteDistribution.java29 * method represents the probability mass function, or PMF for the distribution.
31 * @param x the value at which the probability mass function is evaluated.
32 * @return the value of the probability mass function at x
34 double probability(double x); method in interface:DiscreteDistribution
H A DIntegerDistribution.java30 * method represents the probability mass function for the distribution.
32 * @param x the value at which the probability density function is evaluated.
33 * @return the value of the probability density function at x
35 double probability(int x); method in interface:IntegerDistribution
40 * this method represents the probability distribution function, or PDF
45 * @throws MathException if the cumulative probability can not be
54 * @return the cumulative probability.
55 * @throws MathException if the cumulative probability can not be
67 * probability under (the density of) X, then <code>m - 1</code> is
77 * @param p the cumulative probability
[all...]
H A DAbstractIntegerDistribution.java64 * @return cumulative probability that a random variable with this
66 * @throws MathException if the cumulative probability can not be
79 * @return the probability that a random variable with this distribution
82 * @throws MathException if the cumulative probability can not be
105 * this method represents the probability distribution function, or PDF,
110 * @throws MathException if the cumulative probability can not be
118 * method represents the probability mass function, or PMF, for the distribution.
122 * @param x the value at which the probability density function is evaluated
123 * @return the value of the probability density function at x
125 public double probability(doubl method in class:AbstractIntegerDistribution
[all...]
H A DHypergeometricDistributionImpl.java116 * @param p the desired probability for the critical value
129 * @param p the desired probability for the critical value
196 public double probability(int x) { method in class:HypergeometricDistributionImpl
228 private double probability(int n, int m, int k, int x) { method in class:HypergeometricDistributionImpl
335 * probability is computed by summing the point probabilities for the values
349 double ret = probability(n, m, k, x0);
352 ret += probability(n, m, k, x0);
H A DBinomialDistributionImpl.java41 /** The probability of success. */
46 * probability of success.
49 * @param p the probability of success.
67 * Access the probability of success for this distribution.
69 * @return the probability of success.
104 * Change the probability of success for this distribution.
106 * @param p the new probability of success.
108 * probability.
117 * Change the probability of success for this distribution.
119 * @param p the new probability o
185 public double probability(int x) { method in class:BinomialDistributionImpl
[all...]
H A DZipfDistributionImpl.java139 * The probability mass function P(X = x) for a Zipf distribution.
141 * @param x the value at which the probability density function is evaluated.
142 * @return the value of the probability mass function at x
144 public double probability(final int x) { method in class:ZipfDistributionImpl
154 * The probability distribution function P(X <= x) for a Zipf distribution.
175 * @param p the desired probability for the critical value
188 * @param p the desired probability for the critical value
H A DPascalDistributionImpl.java42 /** The probability of success */
47 * probability of success.
49 * @param p the probability of success
66 * Access the probability of success for this distribution.
67 * @return the probability of success
101 * Change the probability of success for this distribution.
102 * @param p the new probability of success
104 * probability.
113 * Change the probability of success for this distribution.
114 * @param p the new probability o
175 public double probability(int x) { method in class:PascalDistributionImpl
[all...]
H A DPoissonDistributionImpl.java37 * Default maximum number of iterations for cumulative probability calculations.
60 * Maximum number of iterations for cumulative probability.
68 * Convergence criterion for cumulative probability.
182 * The probability mass function P(X = x) for a Poisson distribution.
184 * @param x the value at which the probability density function is
186 * @return the value of the probability mass function at x
188 public double probability(int x) { method in class:PoissonDistributionImpl
203 * The probability distribution function P(X <= x) for a Poisson
208 * @throws MathException if the cumulative probability can not be computed
238 // calculate the probability usin
[all...]
/external/iptables/include/linux/netfilter/
H A Dxt_statistic.h25 __u32 probability; member in struct:xt_statistic_info::__anon7665::__anon7666
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_statistic.h25 __u32 probability; member in struct:xt_statistic_info::__anon8298::__anon8299
/external/libvpx/libvpx/vp8/encoder/
H A Dboolhuff.h62 static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) argument
74 Sectionbits[active_section] += vp8_prob_cost[255-probability];
76 Sectionbits[active_section] += vp8_prob_cost[probability];
81 split = 1 + (((range - 1) * probability) >> 8);
/external/chromium-trace/catapult/telemetry/third_party/WebKit/PerformanceTests/resources/
H A Dstatistics.js69 var probability = (1 - (1 - confidenceLevel) / 2);
70 if (!(probability in tDistributionInverseCDF)) {
78 var cdfForProbability = tDistributionInverseCDF[probability];
106 this.confidenceInterval = function (values, probability) {
109 var delta = this.confidenceIntervalDelta(probability || 0.95, values.length, sum, this.squareSum(values));
115 // Use TINV((1 - probability) * 2, df) in your favorite spreadsheet software to compute these.
/external/libvpx/libvpx/vp8/decoder/
H A Ddboolhuff.h58 static int vp8dx_decode_bool(BOOL_DECODER *br, int probability) { argument
66 split = 1 + (((br->range - 1) * probability) >> 8);
/external/libgdx/gdx/src/com/badlogic/gdx/math/
H A DCumulativeDistribution.java7 * and it's required to pick one of those respecting the probability.
74 /** Finds the value whose interval contains the given probability
76 * @param probability
77 * @return the value whose interval contains the probability */
78 public T value(float probability){ argument
84 if(probability < value.frequency)
86 else if(probability > value.frequency)
94 /** @return the value whose interval contains a random probability in [0,1] */
/external/libvpx/libvpx/vpx_dsp/
H A Dbitwriter.h33 static INLINE void vpx_write(vpx_writer *br, int bit, int probability) { argument
40 split = 1 + (((range - 1) * probability) >> 8);
/external/iproute2/tc/
H A Dq_choke.c40 double probability = 0.02; local
89 } else if (strcmp(*argv, "probability") == 0) {
91 if (sscanf(*argv, "%lg", &probability) != 1) {
92 fprintf(stderr, "Illegal \"probability\"\n");
141 wlog = tc_red_eval_P(opt.qth_min*avpkt, opt.qth_max*avpkt, probability);
143 fprintf(stderr, "CHOKE: failed to calculate probability.\n");
161 max_P = probability * pow(2, 32);
196 fprintf(f, "probability %g ", max_P / pow(2, 32));
H A Dq_red.c32 fprintf(stderr, " [adaptive] [probability PROBABILITY] [bandwidth KBPS]\n");
41 double probability = 0.02; local
81 } else if (strcmp(*argv, "probability") == 0) {
83 if (sscanf(*argv, "%lg", &probability) != 1) {
84 fprintf(stderr, "Illegal \"probability\"\n");
137 if ((parm = tc_red_eval_P(opt.qth_min, opt.qth_max, probability)) < 0) {
138 fprintf(stderr, "RED: failed to calculate probability.\n");
152 max_P = probability * pow(2, 32);
195 fprintf(f, "probability %lg ", max_P / pow(2, 32));
H A Dq_sfq.c34 fprintf(stderr, " [ avpkt BYTES ] [ burst PACKETS ] [ probability P ]\n");
45 double probability = 0.02; local
134 } else if (strcmp(*argv, "probability") == 0) {
136 if (sscanf(*argv, "%lg", &probability) != 1) {
137 fprintf(stderr, "Illegal \"probability\"\n");
192 wlog = tc_red_eval_P(opt.qth_min, opt.qth_max, probability);
194 fprintf(stderr, "SFQ: failed to calculate probability.\n");
198 opt.max_P = probability * pow(2, 32);
236 fprintf(f, "min %s max %s probability %g ",
H A Dq_gred.c44 fprintf(stderr, " [ probability PROBABILITY ] [ bandwidth KBPS ]\n");
128 double probability = 0.02; local
191 } else if (strcmp(*argv, "probability") == 0) {
193 if (sscanf(*argv, "%lg", &probability) != 1) {
194 fprintf(stderr, "Illegal \"probability\"\n");
247 if ((parm = tc_red_eval_P(opt.qth_min, opt.qth_max, probability)) < 0) {
248 fprintf(stderr, "GRED: failed to calculate probability.\n");
264 max_P = probability * pow(2, 32);
328 fprintf(f, "probability %lg ", max_p[i] / pow(2, 32));
H A Dq_netem.c350 if (get_percent(&reorder.probability, *argv)) {
365 if (get_percent(&corrupt.probability, *argv)) {
444 if (reorder.probability) {
453 fprintf(stderr, "gap specified without reorder probability\n");
647 if (reorder && reorder->probability) {
649 sprint_percent(reorder->probability, b1));
655 if (corrupt && corrupt->probability) {
657 sprint_percent(corrupt->probability, b1));
/external/iptables/extensions/
H A Dlibxt_statistic.c27 "[!] --probability p Probability\n"
37 {.name = "probability", .id = O_PROBABILITY, .type = XTTYPE_DOUBLE,
69 info->u.random.probability = lround(0x80000000 * cb->val.dbl);
84 "--probability must be specified when using "
107 1.0 * info->u.random.probability / 0x80000000);
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/
H A DAtlasTmxMapLoader.java409 String probability = tileElement.getAttribute("probability", null);
410 if (probability != null) {
411 tile.getProperties().put("probability", probability);
448 String probability = tileElement.getAttribute("probability", null);
449 if (probability != null) {
450 tile.getProperties().put("probability", probability);
[all...]
/external/opencv3/modules/ml/src/
H A Dnbayes.cpp228 double probability = 0; local
277 probability = exp( -0.5 * cur );
282 results_prob->ptr<float>()[k*rpstep + i] = (float)probability;
284 results_prob->ptr<double>()[k*rpstep + i] = probability;
/external/libnl/include/linux/
H A Dpkt_sched.h466 __u32 probability; member in struct:tc_netem_reorder
472 __u32 probability; member in struct:tc_netem_corrupt
/external/libnl/lib/route/sch/
H A Dnetem.c120 netem->qnm_ro.nmro_probability = ro.probability;
131 netem->qnm_crpt.nmcr_probability = corrupt.probability;
270 reorder.probability = netem->qnm_ro.nmro_probability;
277 corrupt.probability = netem->qnm_crpt.nmcr_probability;
393 * Set re-ordering probability of netem qdisc.
395 * @arg prob New re-ordering probability.
413 * Get re-ordering probability of netem qdisc.
415 * @return Re-ordering probability or a negative error code.
429 * Set re-order correlation probability of netem qdisc.
431 * @arg prob New re-ordering correlation probability
[all...]

Completed in 4117 milliseconds

12