#include #include using namespace itpp; //These lines are needed for use of cout and endl using std::cout; using std::endl; void disp(const vec &tmu, const mat &tR,const mat &Smp){ int N = Smp.cols(); vec Emu = Smp*ones(N) /N ; mat Er = (Smp*Smp.transpose())/N - outer_product(Emu,Emu); cout << "True mu:" << tmu < eN(rv); eN.set_parameters(mu0,R); mat Smp = eN.sample(N); disp(mu0,R.to_mat(),Smp); cout << "====== MlNorm ====== " < ML(rv,rv); ML.set_parameters(I,R); Smp = ML.samplecond(mu0,lik,N); disp(mu0,R.to_mat(),Smp); cout << "====== EGamma ====== " <