Home
last modified time | relevance | path

Searched refs:tot_iter (Results 1 – 25 of 44) sorted by relevance

12

/dports/math/R-cran-MCMCpack/MCMCpack/src/
H A DMCMChierBetaBinom.cc164 const int tot_iter = burnin + mcmc; in hierBetaBinom_impl() local
191 alpha_storage = new double[nj * tot_iter]; in hierBetaBinom_impl()
192 for (int i=0; i<(nj*tot_iter); ++i){ in hierBetaBinom_impl()
197 beta_storage = new double[nj * tot_iter]; in hierBetaBinom_impl()
198 for (int i=0; i<(nj*tot_iter); ++i){ in hierBetaBinom_impl()
236 for (int iter=0; iter<tot_iter; ++iter){ in hierBetaBinom_impl()
282 const double alpha_dev = (alpha_mean_n - alpha_storage[M(i, j, tot_iter)]); in hierBetaBinom_impl()
283 const double beta_dev = (beta_mean_n - beta_storage[M(i, j, tot_iter)]); in hierBetaBinom_impl()
322 alpha_storage[M(iter, j, tot_iter)] = alpha[j]; in hierBetaBinom_impl()
323 beta_storage[M(iter, j, tot_iter)] = beta[j]; in hierBetaBinom_impl()
[all …]
H A DcMCMClogit.cc78 const unsigned int tot_iter = burnin + mcmc; // total mcmc iterations in MCMClogit_impl() local
90 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMClogit_impl()
111 Rprintf("\n\nMCMClogit iteration %i of %i \n", (iter+1), tot_iter); in MCMClogit_impl()
125 static_cast<double>(accepts) / static_cast<double>(tot_iter)); in MCMClogit_impl()
H A DcMCMCpoisson.cc82 const unsigned int tot_iter = burnin + mcmc; // total number iterations in MCMCpoisson_impl() local
98 for (unsigned int iter = 0; iter < tot_iter; ++iter){ in MCMCpoisson_impl()
119 Rprintf("\n\nMCMCpoisson iteration %i of %i \n", (iter+1), tot_iter); in MCMCpoisson_impl()
135 static_cast<double>(accepts) / static_cast<double>(tot_iter)); in MCMCpoisson_impl()
H A DcMCMCquantreg.cc68 const unsigned int tot_iter = burnin + mcmc; //total iterations in MCMCquantreg_impl() local
77 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMCquantreg_impl()
92 (iter+1), tot_iter); in MCMCquantreg_impl()
H A DMCMCmetrop1R.cc78 const unsigned int tot_iter = burnin + mcmc; in MCMCmetrop1R_impl() local
101 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMCmetrop1R_impl()
138 Rprintf("MCMCmetrop1R iteration %i of %i \n", (iter+1), tot_iter); in MCMCmetrop1R_impl()
165 static_cast<double>(accepts) / static_cast<double>(tot_iter)); in MCMCmetrop1R_impl()
H A DcMCMCirtHier1d.cc132 const unsigned int tot_iter = burnin + mcmc; in MCMCirtHier1d_impl() local
163 for (unsigned int iter = 0; iter < tot_iter; ++iter){ in MCMCirtHier1d_impl()
197 Rprintf("\n\nMCMCirt1d iteration %i of %i \n", (iter+1), tot_iter); in MCMCirtHier1d_impl()
248 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMCirtHier1d_impl()
263 (iter+1), tot_iter); in MCMCirtHier1d_impl()
268 double sigma2fcdmean = sigma2fcdsum / static_cast<double>(tot_iter); in MCMCirtHier1d_impl()
H A DcMCMCtobit.cc67 const unsigned int tot_iter = burnin + mcmc; // total number of mcmc iterations in MCMCtobit_impl() local
80 for(unsigned int iter = 0; iter < tot_iter; ++iter){ in MCMCtobit_impl()
104 (iter+1), tot_iter); in MCMCtobit_impl()
H A DMCMClogituserprior.cc93 const unsigned int tot_iter = burnin + mcmc; in MCMClogituserprior_impl() local
118 for (unsigned int iter=0; iter<tot_iter; ++iter){ in MCMClogituserprior_impl()
154 Rprintf("MCMClogit iteration %i of %i \n", (iter+1), tot_iter); in MCMClogituserprior_impl()
183 static_cast<double>(accepts) / static_cast<double>(tot_iter)); in MCMClogituserprior_impl()
H A DcMCMCirt1d.cc49 const unsigned int tot_iter = burnin + mcmc; in MCMCirt1d_impl() local
69 for (unsigned int iter = 0; iter < tot_iter; ++iter){ in MCMCirt1d_impl()
82 Rprintf("\n\nMCMCirt1d iteration %i of %i \n", (iter+1), tot_iter); in MCMCirt1d_impl()
H A DcMCMCfactanal.cc68 const unsigned int tot_iter = burnin + mcmc; in MCMCfactanal_impl() local
91 for (unsigned int iter=0; iter < tot_iter; ++iter){ in MCMCfactanal_impl()
119 Rprintf("\n\nMCMCfactanal iteration %i of %i \n", (iter+1), tot_iter); in MCMCfactanal_impl()
H A DcMCMCprobit.cc60 const unsigned int tot_iter = burnin + mcmc; // total iterations in MCMCprobit_impl() local
76 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMCprobit_impl()
102 Rprintf("\n\nMCMCprobit iteration %i of %i \n", (iter+1), tot_iter); in MCMCprobit_impl()
H A DcMCMCprobitres.cc64 const unsigned int tot_iter = burnin + mcmc; // total number of mcmc iterations in MCMCprobitres_impl() local
80 for (unsigned int iter = 0; iter < tot_iter; ++iter){ in MCMCprobitres_impl()
110 Rprintf("\n\nMCMCprobit iteration %i of %i \n", (iter+1), tot_iter); in MCMCprobitres_impl()
H A DMCMCmnlMH.cc89 const unsigned int tot_iter = burnin + mcmc; // total iterations in MCMCmnlMH_impl() local
109 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMCmnlMH_impl()
177 (iter+1), tot_iter); in MCMCmnlMH_impl()
H A DcMCMCregress.cc76 const unsigned int tot_iter = burnin + mcmc; //total iterations in MCMCregress_impl() local
88 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMCregress_impl()
103 (iter+1), tot_iter); in MCMCregress_impl()
H A DMCMCordfactanal.cc72 const unsigned int tot_iter = burnin + mcmc; in MCMCordfactanal_impl() local
106 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMCordfactanal_impl()
201 tot_iter); in MCMCordfactanal_impl()
217 tot_iter); in MCMCordfactanal_impl()
H A DcMCMCpaircompare.cc59 const unsigned int tot_iter = burnin + mcmc; in MCMCpaircompare_impl() local
173 for (unsigned int iter = 0; iter < tot_iter; ++iter){ in MCMCpaircompare_impl()
200 Rprintf("\n\nMCMCpaircompare iteration %i of %i \n", (iter+1), tot_iter); in MCMCpaircompare_impl()
H A DcSSVSquantreg.cc132 const unsigned int tot_iter = burnin + mcmc; //total iterations in SSVSquantreg_impl() local
164 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in SSVSquantreg_impl()
259 (iter+1), tot_iter); in SSVSquantreg_impl()
H A DcMCMCoprobit.cc208 const unsigned int tot_iter = burnin + mcmc; // total number of mcmc iterations in MCMCoprobit_impl() local
238 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMCoprobit_impl()
351 Rprintf("\n\nMCMCoprobit iteration %i of %i \n", (iter+1), tot_iter); in MCMCoprobit_impl()
365 static_cast<double>(accepts) / static_cast<double>(tot_iter)); in MCMCoprobit_impl()
H A DMCMCmnlslice.cc171 const unsigned int tot_iter = burnin + mcmc; // total iterations in MCMCmnlslice_impl() local
217 for(unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMCmnlslice_impl()
237 tot_iter); in MCMCmnlslice_impl()
H A DcMCMCSVDreg.cc86 const int tot_iter = *burnin + *mcmc; in MCMCSVDreg_impl() local
137 for (int iter = 0; iter < tot_iter; ++iter) { in MCMCSVDreg_impl()
250 (iter+1), tot_iter); in MCMCSVDreg_impl()
H A DMCMCmixfactanal.cc87 const unsigned int tot_iter = burnin + mcmc; in MCMCmixfactanal_impl() local
116 for (unsigned int iter=0; iter < tot_iter; ++iter){ in MCMCmixfactanal_impl()
250 Rprintf("\n\nMCMCmixfactanal iteration %i of %i \n", (iter+1), tot_iter); in MCMCmixfactanal_impl()
H A DMCMCdynamicEI.cc222 unsigned int tot_iter = burnin + mcmc; in MCMCdynamicEI_impl() local
343 for (unsigned int iter=0; iter<tot_iter; ++iter){ in MCMCdynamicEI_impl()
404 tot_iter); in MCMCdynamicEI_impl()
H A DcMCMCbinaryChange.cc111 const int tot_iter = burnin + mcmc; in MCMCbinaryChange_impl() local
118 for (int iter = 0; iter < tot_iter; ++iter){ in MCMCbinaryChange_impl()
175 Rprintf("\n\n MCMCbinaryChange iteration %i of %i", (iter+1), tot_iter); in MCMCbinaryChange_impl()
H A DMCMChierEI.cc207 unsigned int tot_iter = burnin + mcmc; in MCMChierEI_impl() local
311 for (unsigned int iter = 0; iter < tot_iter; ++iter) { in MCMChierEI_impl()
388 Rprintf("\nMCMChierEI iteration %i of %i \n", (iter+1), tot_iter); in MCMChierEI_impl()
/dports/math/py-osqp/osqp-0.6.2.post0/module/tests/
H A Dwarm_start_test.py50 tot_iter = res.info.iter
55 self.assertEqual(res.info.iter, tot_iter)

12