Lines Matching refs:re_root

26               final double [] re_root,
31 return root4(p,re_root,im_root);
35 return root3(p,re_root,im_root);
39 return root2(p,re_root,im_root);
43 return root1(p,re_root,im_root);
58 public static int root4(final double [] p,final double [] re_root,final double [] im_root)
65 re_root[0]=re_root[1]=re_root[2]=re_root[3]=
88 re_root[0]=-a;
90 re_root[1]=re_root[2]=re_root[3]=0;
98 re_root[0]=sq4*SQRT2/2;
99 im_root[0]=re_root[0];
100 re_root[1]=-re_root[0];
101 im_root[1]=re_root[0];
102 re_root[2]=-re_root[0];
103 im_root[2]=-re_root[0];
104 re_root[3]=re_root[0];
105 im_root[3]=-re_root[0];
111 re_root[0]=sq4;
113 re_root[1]=0;
115 re_root[2]=0;
117 re_root[3]=-sq4;
127 root2(new double []{p[2],p[3],p[4]},re_root,im_root);
128 re_root[2]=im_root[2]=re_root[3]=im_root[3]=0;
356 re_root[0]=w1_re+w2_re+w3_re-h;
358 re_root[1]=-(w1_re+w2_re)+w3_re-h;
360 re_root[2]=w2_re-w1_re-w3_re-h;
362 re_root[3]=w1_re-w2_re-w3_re-h;
511 public static int root1(final double [] p,final double [] re_root,final double [] im_root)
515 re_root[0]=im_root[0]=Double.NaN;
518 re_root[0]=-p[0]/p[1];
523 public static int root2(final double [] p,final double [] re_root,final double [] im_root)
527 re_root[0]=re_root[1]=im_root[0]=im_root[1]=Double.NaN;
536 re_root[1]=-b2+sq;
537 re_root[0]=c/re_root[1];
541 re_root[0]=-b2-sq;
542 re_root[1]=c/re_root[0];
546 re_root[0]=-b2-sq;
547 re_root[1]=-b2+sq;
554 re_root[0]=re_root[1]=-b2;
561 public static int root3(final double [] p,final double [] re_root,final double [] im_root)
566 re_root[0]=re_root[1]=re_root[2]=
588 re_root[0]=re_root[1]=re_root[2]=-a3;
605 re_root[0] = -2 * sqrtQ - a3;
606 re_root[1]=re_root[2]=sqrtQ - a3;
611 re_root[0]=re_root[1] = -sqrtQ - a3;
612 re_root[2]=2 * sqrtQ - a3;
627 re_root[0]=r0;
628 re_root[1]=r1;
629 re_root[2]=r2;
639 re_root[0]=A + B - a3;
641 re_root[1]=-0.5 * (A + B) - a3;
643 re_root[2]=re_root[1];
651 static void root3a(final double [] p,final double [] re_root,final double [] im_root)
668 re_root[0]=f*Math.cos(th/3)-a3;
669 re_root[1]=f*Math.cos((th+2*Math.PI)/3)-a3;
670 re_root[2]=f*Math.cos((th+4*Math.PI)/3)-a3;
682 re_root[0]=sv-a3;
685 re_root[1]=re_root[2]=-0.5*sv-a3;
693 re_root[0]=re_root[1]=re_root[2]=im_root[0]=im_root[1]=im_root[2]=Double.NaN;
703 final double [] re_root=new double [4],im_root=new double [4];
725 root4(p,re_root,im_root);
735 root3(p,re_root,im_root);
745 re_root[i]+"\t"+