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 ?
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 ?
This library provides anything you would need with complex numbers: http://commons.apache.org/math/
Example: http://commons.apache.org/math/userguide/complex.html