Class NaturalLogarithm

All Implemented Interfaces:
PostfixMathCommandI, RealUnaryFunction, Serializable

public class NaturalLogarithm extends UnaryFunction implements RealUnaryFunction
Natural logarithm. For positive Double arguments returns a Double: Math.log(value). For negative Double arguments convert to Complex and return the Complex log: Complex(Math.log(Math.abs(value)),Math.PI) For Complex find the complex logarithm: Complex(Math.log(Math.abs(value)),arg(value))
See Also: