testEpdf.cpp itpp/itbase.h stat/libEF.h int int main () main #include<itpp/itbase.h> #include<stat/libEF.h> usingnamespaceitpp; //Theselinesareneededforuseofcoutandendl usingstd::cout; usingstd::endl; intmain(){ vecx="-10:0.1:10"; vecy="-10:0.1:10"; RVrv("{x}","2"); vecmu0="0.00.0"; matV0("5-0.05;-0.055.20"); fsqmatR=fsqmat(V0); cout<<"======ENorm======"<<endl; enorm<fsqmat>eN(rv); eN.set_parameters(mu0,R); vecpdf=zeros(x.length()); vecpom(2); doublesuma=0.0; for(inti=0;i<x.length();i++){ for(intj=0;j<y.length();j++){ pom(0)=x(i); pom(1)=y(j); suma+=eN.eval(pom); } } cout<<suma<<endl; //Exitprogram: return0; }