Friday, 11 March 2011

Complex numbers in Java

Our last programming homework had us write a Java class to implement some operations with complex numbers. As I found it pretty interesting, I'm sharing my file on here.
Examples of usage are in comments in the file. If anyone has any questions or suggestions on how to make it better, feel free to drop a line here or on email.
ComplexNumber.java

No comments: