Home
last modified time | relevance | path

Searched refs:Atotal (Results 1 – 25 of 28) sorted by relevance

12

/dports/math/unuran/unuran-1.8.1/src/methods/
H A Dtdr_ps_debug.ch51 double sAsqueeze, sAhatl, sAhatr, Atotal;
77 if (!print_areas || GEN->Atotal <= 0.) return;
80 Atotal = GEN->Atotal;
93 iv->Asqueeze, iv->Asqueeze * 100. / Atotal,
95 iv->Acum, iv->Acum * 100. / Atotal);
99 sAsqueeze, sAsqueeze * 100. / Atotal,
107 GEN->Asqueeze, GEN->Asqueeze * 100./Atotal);
109 Atotal - GEN->Asqueeze, (Atotal - GEN->Asqueeze) * 100./Atotal);
221 iv_left->Ahat, iv_left->Ahat*100./GEN->Atotal);
296 iv_left->Ahat, iv_left->Ahat*100./GEN->Atotal);
[all …]
H A Dtdr_gw_debug.ch51 double sAsqueeze, sAhatl, sAhatr, Atotal;
80 Atotal = GEN->Atotal;
93 iv->Asqueeze, iv->Asqueeze * 100. / Atotal,
95 iv->Acum, iv->Acum * 100. / Atotal);
99 sAsqueeze, sAsqueeze * 100. / Atotal,
109 Atotal - GEN->Asqueeze, (Atotal - GEN->Asqueeze) * 100./Atotal);
252 iv_left->Asqueeze*100./GEN->Atotal);
259 iv_left->Ahat * 100./GEN->Atotal);
267 iv_right->Asqueeze*100./GEN->Atotal);
274 iv_right->Ahat * 100./GEN->Atotal);
[all …]
H A Darou.c639 return GEN->Atotal; in unur_arou_get_hatarea()
968 if (GEN->Atotal <= 0. || !_unur_isfinite(GEN->Atotal)) { in _unur_arou_init()
1020 GEN->Atotal = 0.; in _unur_arou_create()
1203 R *= GEN->Atotal; in _unur_arou_sample()
1309 R *= GEN->Atotal; in _unur_arou_sample_check()
2117 GEN->Atotal += Adiff; in _unur_arou_segment_split()
2194 GEN->Atotal = Atot; in _unur_arou_run_dars()
2343 GEN->Atotal = Acum; in _unur_arou_make_guide_table()
2634 Atotal = GEN->Atotal; in _unur_arou_debug_segments()
2666 GEN->Atotal - GEN->Asqueeze, (Atotal - GEN->Asqueeze) * 100./Atotal); in _unur_arou_debug_segments()
[all …]
H A Dtabl_debug.ch273 double sAsqueeze, Atotal;
299 if (GEN->Atotal <= 0.) {
303 Atotal = -1.; /* to avoid floating point exceptions */
306 Atotal = GEN->Atotal;
320 iv->Asqueeze, iv->Asqueeze * 100. / Atotal,
321 iv->Ahat, iv->Ahat * 100. / Atotal,
322 iv->Acum, iv->Acum * 100. / Atotal);
326 sAsqueeze, sAsqueeze * 100. / Atotal, Atotal);
332 GEN->Asqueeze, GEN->Asqueeze * 100./Atotal);
334 Atotal - GEN->Asqueeze, (Atotal - GEN->Asqueeze) * 100./Atotal);
[all …]
H A Dars.c868 if (GEN->Atotal <= 0. || !_unur_isfinite(GEN->Atotal)) { in _unur_ars_init()
947 GEN->Atotal = 0.; in _unur_ars_reinit()
985 if (GEN->Atotal <= 0.) in _unur_ars_reinit()
1052 GEN->Atotal = 0.; in _unur_ars_create()
1278 U *= GEN->Atotal; in _unur_ars_sample()
1401 U *= GEN->Atotal; in _unur_ars_sample_check()
1537 U *= GEN->Atotal; in unur_ars_eval_invcdfhat()
2379 GEN->Atotal = Acum; in _unur_ars_make_area_table()
2637 Atotal = GEN->Atotal; in _unur_ars_debug_intervals()
2778 Ahat * 100./GEN->Atotal); in _unur_ars_debug_split_stop()
[all …]
H A Dtabl_info.ch92 _unur_string_append(info," area(hat) = %g\n", GEN->Atotal);
96 _unur_string_append(info,"= %g\n", GEN->Atotal/DISTR.area);
98 _unur_string_append(info,"<= %g\n", GEN->Atotal/GEN->Asqueeze);
101 GEN->Asqueeze/GEN->Atotal);
147 if (GEN->Asqueeze/GEN->Atotal < GEN->max_ratio)
H A Dtdr_info.ch110 _unur_string_append(info," area(hat) = %g\n", GEN->Atotal);
114 _unur_string_append(info,"= %g\n", GEN->Atotal/DISTR.area);
116 _unur_string_append(info,"<= %g\n", GEN->Atotal/GEN->Asqueeze);
119 GEN->Asqueeze/GEN->Atotal);
174 if (GEN->Asqueeze/GEN->Atotal < GEN->max_ratio)
H A Dtabl_init.ch197 GEN->Atotal = 0.;
790 GEN->Atotal = Atot;
794 while ( (GEN->max_ratio * GEN->Atotal > GEN->Asqueeze) &&
840 if ( GEN->max_ratio * GEN->Atotal > GEN->Asqueeze ) {
947 GEN->Atotal += iv_old->Ahat - A_hat_old;
951 if (!_unur_isfinite(GEN->Atotal)) {
1004 GEN->Atotal += iv_old->Ahat + iv_new->Ahat - A_hat_old;
1069 GEN->Atotal = Acum;
1076 Astep = GEN->Atotal / GEN->guide_size;
1096 if (! (_unur_isfinite(GEN->Atotal) && _unur_isfinite(GEN->Asqueeze)
[all …]
H A Dars_struct.h79 double Atotal; /* area below hat */ member
H A Darou_struct.h77 double Atotal; /* area of enveloping polygon */ member
H A Dtabl_struct.h82 double Atotal; /* total area below hat */ member
H A Dtdr_gw_init.ch184 while ( (GEN->max_ratio * GEN->Atotal > GEN->Asqueeze) &&
190 Alimit = GEN->darsfactor * ( (GEN->Atotal - GEN->Asqueeze) / GEN->n_ivs );
311 if ( GEN->max_ratio * GEN->Atotal > GEN->Asqueeze ) {
476 if ( (GEN->n_ivs * (iv_oldl->Ahat - iv_oldl->Asqueeze) / (GEN->Atotal - GEN->Asqueeze))
568 GEN->Atotal = ( GEN->Atotal - iv_bak.Ahat
579 /* when using inside Gibbs sampler Atotal might be 0 */
580 if (GEN->Atotal <= 1.e10 * DBL_MIN) {
H A Dtdr_struct.h90 double Atotal; /* area below hat */ member
H A Dtabl_sample.ch72 U *= GEN->Atotal;
152 U *= GEN->Atotal;
234 U *= GEN->Atotal;
301 U *= GEN->Atotal;
372 if (! (GEN->max_ratio * GEN->Atotal > GEN->Asqueeze) ) {
H A Dtdr_ps_init.ch309 while ( (GEN->max_ratio * GEN->Atotal > GEN->Asqueeze) &&
315 Alimit = GEN->darsfactor * ( (GEN->Atotal - GEN->Asqueeze) / GEN->n_ivs );
486 if ( GEN->max_ratio * GEN->Atotal > GEN->Asqueeze ) {
631 if ( (GEN->n_ivs * (iv->Ahat - iv->Asqueeze) / (GEN->Atotal - GEN->Asqueeze))
775 GEN->Atotal = ( GEN->Atotal + (oldr->Ahat - oldr_bak.Ahat)
788 /* when using inside Gibbs sampler Atotal might be 0 */
789 if (GEN->Atotal <= 1.e10 * DBL_MIN) {
H A Dtdr_init.ch89 if (GEN->Atotal <= 0. || !_unur_isfinite(GEN->Atotal)) {
245 GEN->Atotal = 0.;
259 GEN->max_ratio = PAR->max_ratio; /* bound for ratio Atotal / Asqueeze */
382 GEN->Atotal = 0.;
409 if (GEN->Atotal <= 0.)
818 GEN->Atotal = Atot;
1417 GEN->Atotal = Acum;
1426 Astep = GEN->Atotal / GEN->guide_size;
H A Dtdr_ps_sample.ch112 U *= GEN->Atotal;
339 U *= GEN->Atotal;
443 if (! (GEN->max_ratio * GEN->Atotal > GEN->Asqueeze) ) {
H A Dtdr_newset.ch92 PAR->max_ratio = 0.99; /* bound for ratio Atotal / Asqueeze */
470 return (GEN->Asqueeze / GEN->Atotal);
493 return GEN->Atotal;
1134 cdf /= GEN->Atotal;
1166 cdf /= GEN->Atotal;
H A Dtdr_gw_sample.ch124 U *= GEN->Atotal;
375 U *= GEN->Atotal;
514 if (! (GEN->max_ratio * GEN->Atotal > GEN->Asqueeze) ) {
/dports/biology/mothur/mothur-1.46.1/source/calculators/
H A Duvest.cpp19 …int S12, Atotal, Btotal, f1A, f2A, f1B, f2B, sumSharedA, sumSharedB, sumSharedA1, sumSharedB1, tem… in getUVest() local
20 …S12 = 0; Atotal = 0; Btotal = 0; f1A = 0; f2A = 0; f1B = 0; f2B = 0; sumSharedA = 0; sumSharedB = … in getUVest()
37 Atotal += tempA; in getUVest()
54 Upart1 = sumSharedA / (float) Atotal; in getUVest()
56 Upart3 = sumSharedA1 / (float) Atotal; in getUVest()
65 Vpart2 = ((Atotal - 1) * f1A) / (float) (Atotal * 2 * f2A); in getUVest()
H A Dsharedthetan.cpp17 double Atotal, Btotal, tempA, tempB; in getValues() local
18 Atotal = 0; Btotal = 0; in getValues()
25 Atotal += shared[0]->get(i); in getValues()
37 if (!util.isEqual(Atotal, 0)) { sumSharedA = (tempA / (float)Atotal); } in getValues()
H A Dsharedthetayc.cpp17 double Atotal = (double)shared[0]->getNumSeqs(); in getValues() local
34 pi = shared[0]->get(j) / Atotal; in getValues()
51 double varA = 4 / Atotal * (sumPcubed - a * a); in getValues()
53 double varD = sumPQsq / Atotal + sumPsqQ / Btotal - d * d * (1/Atotal + 1/Btotal); in getValues()
54 double covAD = 2 / Atotal * (sumPsqQ - a * d); in getValues()
H A Dsharedmorisitahorn.cpp17 double Atotal, Btotal, tempA, tempB; in getValues() local
18 Atotal = 0; Btotal = 0; in getValues()
25 Atotal += shared[0]->get(i); in getValues()
34 float relA = tempA / Atotal; in getValues()
/dports/sysutils/graveman/graveman-0.3.12-5/include/
H A Dtools.h46 extern gdouble get_pourcent(gchar *Atotal, gchar *Aactu);
/dports/sysutils/graveman/graveman-0.3.12-5/src/
H A Dtools.c435 gdouble get_pourcent(gchar *Atotal, gchar *Aactu) in get_pourcent() argument
437 glong Lnumtotal = atol(Atotal); in get_pourcent()

12