double[] aa = new double[2],cc=buildVector(2,1.0);
aa[0]=110.0; aa[1]=200.0;
xx[0]=100.0; xx[1]=210.0;
yy[0]=1.705598979081085e-1; yy[1]=7.639696745011632e-1;
zz[0]=gam.gammp(aa[0],xx[0]); zz[1]=gam.gammp(aa[1],xx[1]);
uu[0]=gam.gammq(aa[0],xx[0]); uu[1]=gam.gammq(aa[1],xx[1]);
vv[0]=gam.invgammp(zz[0],aa[0]); vv[1]=gam.invgammp(zz[1],aa[1]);
System.out.printf("Gamma.gammp from gammpapprox: Maximum discrepancy = %f\n", maxel(vecsub(zz,yy)));
sbeps=5.e-14;
localflag = maxel(vecsub(zz,yy)) > sbeps;