mat4j.types
Class Complex
java.lang.Object
mat4j.types.Complex
public class Complex
- extends java.lang.Object
Constructor Summary |
Complex(double real,
double imag)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Complex
public Complex(double real,
double imag)
getRe
public double getRe()
setRe
public void setRe(double real)
getIm
public double getIm()
setIm
public void setIm(double imag)
getLength
public double getLength()
getPhi
public double getPhi()
conjugate
public Complex conjugate()
add
public Complex add(Complex complex)
multiply
public Complex multiply(Complex complex)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object