qat.core.variables.ln
- qat.core.variables.ln(number)
Natural logarithm of a (positive or complex) number
from math import exp from qat.core.variables import ln print(ln(exp(2)))
2.0- Parameters:
number (
VariableorArithExpressionor number) – a positive or complex number- Returns:
natural logarithm
- Return type:
ArithExpressionor number