Exemplo n.º 1
0
 public Complex log() {
   float phase = arg();
   if (phase > Math.PI) phase -= 2.0f * Math.PI;
   return Complex.polar((float) Math.log(abs()), phase);
 }