Class Complex
java.lang.Object
Complex
- public class Complex
- extends java.lang.Object
Klasse zum Rechnen mit Komplexen Zahlen
hk, 9.12.2001
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
re
private double re
im
private double im
ZERO
public static final Complex ZERO
ONE
public static final Complex ONE
I
public static final Complex I
Complex
public Complex(double r,
double i)
Complex
public Complex(double r)
Complex
public Complex()
reTeil
public double reTeil()
imTeil
public double imTeil()
toString
public java.lang.String toString()
equals
public boolean equals(Complex b)
add
public Complex add(Complex b)
subtract
public Complex subtract(Complex b)
negate
public Complex negate()
conjugate
public Complex conjugate()
abs
public double abs()
multiply
public Complex multiply(Complex b)
inverse
public Complex inverse()
divide
public Complex divide(Complex b)