复数类的完整测试.docVIP

  • 0
  • 0
  • 约6.88千字
  • 约 6页
  • 2020-08-15 发布于湖北
  • 举报
/** Complex implements a complex number and defines complex arithmetic and mathematical functions Last Updated February 27, 2001 Copyright 1997-2001 @version 1.0 @author Andrew G. Bennett */ public class Complex extends Object { private double x,y; /** Constructs the complex number z = u + i*v @param u Real part @param v Imaginary part */ public Complex(double u,double v) { x=u; y=v; } /** Real part of this Complex number (the x-coordinate in rectangular coordinates). @ret

文档评论(0)

1亿VIP精品文档

相关文档