5 #ifndef SHINOZUKAPP_2D_HPP 6 #define SHINOZUKAPP_2D_HPP 9 #include <boost/random/mersenne_twister.hpp> 10 #include <boost/random/uniform_real_distribution.hpp> 11 #include <boost/math/special_functions/erf.hpp> 12 #include <boost/random/normal_distribution.hpp> 13 #include <boost/math/special_functions/gamma.hpp> 14 #include <boost/math/special_functions/beta.hpp> 24 template<
typename typearg>
26 double s_tau(
double & tau);
30 void icdf_gamma(Epetra_Vector & V, Epetra_Vector & G,
double & alpha,
double & beta);
31 void icdf_beta(Epetra_Vector & V, Epetra_Vector & B,
double & tau1,
double & tau2);
37 boost::random::mt19937
rng;
38 boost::random::uniform_real_distribution<>
phi_;
39 boost::random::uniform_real_distribution<>
psi_;
double s_tau(double &tau)
double tau_beta(typearg &beta)
void icdf_gamma(Epetra_Vector &V, Epetra_Vector &G, double &alpha, double &beta)
boost::random::uniform_real_distribution psi_
void icdf_beta(Epetra_Vector &V, Epetra_Vector &B, double &tau1, double &tau2)
void generator(Epetra_Vector &v, mesh &Mesh)
boost::random::mt19937 rng
boost::random::uniform_real_distribution phi_