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