public class Complex
extends java.lang.Object
构造器和说明 |
---|
Complex(double real,
double imag) |
限定符和类型 | 方法和说明 |
---|---|
double |
abs() |
Complex |
conjugate() |
Complex |
conjugateScale(double alpha) |
Complex |
cos() |
Complex |
divides(Complex b) |
boolean |
equals(java.lang.Object x) |
Complex |
exp() |
double |
im() |
Complex |
minus(Complex b) |
double |
mod()
取模
|
double |
phase() |
Complex |
plus(Complex b) |
static Complex |
plus(Complex a,
Complex b) |
double |
re() |
Complex |
reciprocal() |
double |
safeRe()
安全的实数
|
Complex |
scale(double alpha) |
void |
setImZero()
虚部置0
|
Complex |
sin() |
Complex |
tan() |
Complex |
times(Complex b) |
java.lang.String |
toString() |
public java.lang.String toString()
toString
在类中 java.lang.Object
public double abs()
public double phase()
public Complex scale(double alpha)
public Complex conjugate()
public Complex conjugateScale(double alpha)
public Complex reciprocal()
public double mod()
public double re()
public double im()
public double safeRe()
public void setImZero()
public Complex exp()
public Complex sin()
public Complex cos()
public Complex tan()
public boolean equals(java.lang.Object x)
equals
在类中 java.lang.Object