views:

80

answers:

1

We know that the general form of complex numbers is like this: z=a+i*b, where i is sqrt(-1).

I have a question about how to express this in Java ?

+5  A: 

This library provides anything you would need with complex numbers: http://commons.apache.org/math/

Example: http://commons.apache.org/math/userguide/complex.html

Max