Home
last modified time | relevance | path

Searched refs:bernoulli (Results 1 – 25 of 1566) sorted by relevance

12345678910>>...63

/dports/www/firefox-esr/firefox-91.8.0/mfbt/tests/
H A DTestFastBernoulliTrial.cpp26 bernoulli.setProbability(0.5); in TestProportions()
28 for (size_t i = 0; i < 1000; i++) count += bernoulli.trial(); in TestProportions()
33 bernoulli.setProbability(0.001); in TestProportions()
40 bernoulli.setProbability(0.85); in TestProportions()
46 bernoulli.setProbability(0.0); in TestProportions()
56 for (size_t i = 0; i < n; i++) trials[i] = bernoulli.trial(); in TestHarmonics()
128 bernoulli.setProbability(0.0); in TestChangeProbability()
131 bernoulli.setProbability(1.0); in TestChangeProbability()
134 MOZ_RELEASE_ASSERT(bernoulli.trial()); in TestChangeProbability()
158 bernoulli.setProbability(nextafter(0, 1)); in TestCuspProbabilities()
[all …]
/dports/www/firefox/firefox-99.0/mfbt/tests/
H A DTestFastBernoulliTrial.cpp26 bernoulli.setProbability(0.5); in TestProportions()
28 for (size_t i = 0; i < 1000; i++) count += bernoulli.trial(); in TestProportions()
33 bernoulli.setProbability(0.001); in TestProportions()
40 bernoulli.setProbability(0.85); in TestProportions()
46 bernoulli.setProbability(0.0); in TestProportions()
56 for (size_t i = 0; i < n; i++) trials[i] = bernoulli.trial(); in TestHarmonics()
128 bernoulli.setProbability(0.0); in TestChangeProbability()
131 bernoulli.setProbability(1.0); in TestChangeProbability()
134 MOZ_RELEASE_ASSERT(bernoulli.trial()); in TestChangeProbability()
158 bernoulli.setProbability(nextafter(0, 1)); in TestCuspProbabilities()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/mfbt/tests/
H A DTestFastBernoulliTrial.cpp30 bernoulli.setProbability(0.5); in TestProportions()
33 count += bernoulli.trial(); in TestProportions()
38 bernoulli.setProbability(0.001); in TestProportions()
41 count += bernoulli.trial(); in TestProportions()
46 bernoulli.setProbability(0.85); in TestProportions()
49 count += bernoulli.trial(); in TestProportions()
53 bernoulli.setProbability(0.0); in TestProportions()
68 trials[i] = bernoulli.trial(); in TestHarmonics()
97 count += bernoulli.trial(1); in TestTrialN()
152 bernoulli.setProbability(0.0); in TestChangeProbability()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/mfbt/tests/
H A DTestFastBernoulliTrial.cpp30 bernoulli.setProbability(0.5); in TestProportions()
33 count += bernoulli.trial(); in TestProportions()
38 bernoulli.setProbability(0.001); in TestProportions()
41 count += bernoulli.trial(); in TestProportions()
46 bernoulli.setProbability(0.85); in TestProportions()
49 count += bernoulli.trial(); in TestProportions()
53 bernoulli.setProbability(0.0); in TestProportions()
68 trials[i] = bernoulli.trial(); in TestHarmonics()
97 count += bernoulli.trial(1); in TestTrialN()
152 bernoulli.setProbability(0.0); in TestChangeProbability()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/mfbt/tests/
H A DTestFastBernoulliTrial.cpp26 bernoulli.setProbability(0.5); in TestProportions()
28 for (size_t i = 0; i < 1000; i++) count += bernoulli.trial(); in TestProportions()
33 bernoulli.setProbability(0.001); in TestProportions()
40 bernoulli.setProbability(0.85); in TestProportions()
46 bernoulli.setProbability(0.0); in TestProportions()
56 for (size_t i = 0; i < n; i++) trials[i] = bernoulli.trial(); in TestHarmonics()
128 bernoulli.setProbability(0.0); in TestChangeProbability()
131 bernoulli.setProbability(1.0); in TestChangeProbability()
134 MOZ_RELEASE_ASSERT(bernoulli.trial()); in TestChangeProbability()
158 bernoulli.setProbability(nextafter(0, 1)); in TestCuspProbabilities()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/mfbt/tests/
H A DTestFastBernoulliTrial.cpp26 bernoulli.setProbability(0.5); in TestProportions()
28 for (size_t i = 0; i < 1000; i++) count += bernoulli.trial(); in TestProportions()
33 bernoulli.setProbability(0.001); in TestProportions()
40 bernoulli.setProbability(0.85); in TestProportions()
46 bernoulli.setProbability(0.0); in TestProportions()
56 for (size_t i = 0; i < n; i++) trials[i] = bernoulli.trial(); in TestHarmonics()
128 bernoulli.setProbability(0.0); in TestChangeProbability()
131 bernoulli.setProbability(1.0); in TestChangeProbability()
134 MOZ_RELEASE_ASSERT(bernoulli.trial()); in TestChangeProbability()
158 bernoulli.setProbability(nextafter(0, 1)); in TestCuspProbabilities()
[all …]
/dports/math/octave-forge-symbolic/symbolic-2.9.0/inst/@double/
H A Dbernoulli.m28 %% bernoulli (6)
30 %% bernoulli (7)
38 %% bernoulli (2, pi)
46 %% @seealso{@@sym/bernoulli}
86 %!assert (bernoulli (0), 1)
87 %!assert (bernoulli (3), 0)
93 %! A = bernoulli (m);
100 %! A = bernoulli (m);
109 %! A = bernoulli (m, x);
137 %! A = bernoulli (m, x);
[all …]
/dports/math/octave-forge-symbolic/symbolic-2.9.0/inst/@sym/
H A Dbernoulli.m28 %% bernoulli(sym(6))
30 %% bernoulli(sym(7))
39 %% bernoulli(2, x)
46 %% @seealso{@@double/bernoulli, @@sym/euler}
49 function r = bernoulli (varargin) function
64 %!error <usage> bernoulli (sym(1), 2, 3)
67 %!assert (isequal (bernoulli (sym(9)), sym(0)))
73 %! A = bernoulli (m);
79 %! A = bernoulli ([0; 1], x);
87 %! f = bernoulli (n, x);
[all …]
/dports/math/reduce/Reduce-svn5758-src/packages/specfn/
H A Dsfbdata.red29 fluid '(compute!-bernoulli);
50 symbolic macro procedure mk!-bernoulli u;
52 list('quote, bernoulli!-alist) >>;
54 symbolic macro procedure mk!-bernoulli u;
56 list('quote, bernoulli!-alist) >>;
63 % When I read in save!-bernoulli the macro mk!-bernoulli() will get
66 % just bernoulli!-alist := '((....))
68 symbolic procedure save!-bernoulli();
69 bernoulli!-alist := mk!-bernoulli();
76 save!-bernoulli()$
[all …]
/dports/databases/pgFormatter/pgFormatter-5.1/t/pg-test-files/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql10-plperl/postgresql-10.19/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql10-contrib/postgresql-10.19/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql10-client/postgresql-10.19/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql10-plpython/postgresql-10.19/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql10-docs/postgresql-10.19/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql11-docs/postgresql-11.14/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql11-plperl/postgresql-11.14/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql11-contrib/postgresql-11.14/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql11-client/postgresql-11.14/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql11-plpython/postgresql-11.14/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql10-server/postgresql-10.19/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql12-client/postgresql-12.9/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql11-pltcl/postgresql-11.14/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);
/dports/databases/postgresql11-server/postgresql-11.14/src/test/regress/sql/
H A Dtablesample.sql57 select count(*) from person tablesample bernoulli (100);
58 select count(*) from person tablesample bernoulli (100);
62 SELECT count(*) FROM test_tablesample TABLESAMPLE bernoulli (('1'::text < '0'::text)::int);
67 lateral (select count(*) from tenk1 tablesample bernoulli (pct)) ss;
74 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
78 lateral (select * from tenk1 tablesample bernoulli (pct)) ss
109 select * from parted_sample tablesample bernoulli (100);

12345678910>>...63