|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jwo.utils.JWComplex
Simple class to store complex numbers
| Field Summary | |
float |
imaginary
Imaginary component of complex number. |
float |
real
Real component of complex number. |
| Constructor Summary | |
JWComplex()
Initialises complex number to (0,0). |
|
JWComplex(float real)
Initialises complex number to (real,0). |
|
JWComplex(float real,
float imaginary)
Initialises complex number to (real,imaginary). |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public float real
public float imaginary
| Constructor Detail |
public JWComplex()
public JWComplex(float real)
real - Real component of complex number.
public JWComplex(float real,
float imaginary)
real - Real component of complex number.imaginary - Imaginary component of complex number.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||