Package com.nr

Examples of com.nr.Complex.sub()


      err *= EPS;
      if (b.mod() <= err)
        return x;
      g=d.div(b);
      g2=g.mul(g);
      h=g2.sub(f.div(b).mul(2.0));
      sq = (h.mul(m).sub(g2).mul(m-1)).sqrt();
      //sq=sqrt((m-1)*(m*h-g2));
      gp=g.add(sq);
      gm=g.sub(sq);
      double abp=gp.mod();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.