25 double mu = (j/(i*j-pow(i,2)))*log(m[i]/m[0]) + (i/(i*j-pow(j,2)))*log(m[j]/m[0]);
26 double sigma_var = ((2.0/(pow(j,2)))*log(m[j]/m[0])-(2.0/(i*j))*log(m[i]/m[0]))/(1.0-i/j);
33 for (
int k = 0; k < n; k++)
35 m1[k] = m[0]*exp(k*mu+((pow(k,2)*sigma_var)/2.0));
43 mu = (j/(i*j-pow(i,2)))*log(m[i]/m[0]) + (i/(i*j-pow(j,2)))*log(m[j]/m[0]);
44 sigma_var = ((2.0/(pow(j,2)))*log(m[j]/m[0])-(2.0/(i*j))*log(m[i]/m[0]))/(1.0-i/j);
51 for (
int k = 0; k < n; k++)
53 m2[k] = m[0]*exp(k*mu+((pow(k,2)*sigma_var)/2.0));
57 for (
int k = 0; k < n; k++)
59 m[k] = (m1[k] + m2[k])/2.0;
void WrightCorrection(double *m, int nNodes)
m2
(MoDeNa) Surrogate Model Template (Air, PU)
m
Bubble Growth Application Recipe.