return Math.atan(x);
}
public static ComplexNumber atan(final ComplexNumber z) {
Validate.notNull(z, "z");
final ComplexNumber iZ = ComplexMathUtils.multiply(z, I);
final ComplexNumber half = new ComplexNumber(0, 0.5);
return ComplexMathUtils.multiply(half, ComplexMathUtils.log(ComplexMathUtils.divide(ComplexMathUtils.subtract(1, iZ), ComplexMathUtils.add(1, iZ))));
}