aa=new Complex(-0.5,-5.0+0.1*i);
bb=new Complex(1.0,0.0);
cc=new Complex(-0.5,-5.0+0.1*i);
zz=new Complex(-5.0+0.1*i,-5.0+0.1*i);
Complex r = cc.mul(2.0).sub(aa).sub(bb).sub(new Complex(1.0));
r = cc.sub(new Complex(1.0)).sub(r.mul(zz));
r = cc.mul(r).mul(hypgeo(aa,bb,cc,zz));
Complex rr =(cc.sub(aa)).mul(cc.sub(bb)).mul(zz).mul(hypgeo(aa,bb,cc.sub(new Complex(1.0)),zz));
res1 = r.add(rr);
//res1=cc*(cc-1.0-(2.0*cc-aa-bb-1.0)*zz)*hypgeo(aa,bb,cc,zz)
// + (cc-aa)*(cc-bb)*zz*hypgeo(aa,bb,cc+1.0,zz);