pub fn ln(arg: &Expression) -> ExpressionExpand description
Evaluate natural logarithm ln(x)
§Mathematical Definition
ln(x) = log_e(x), inverse of exp(x)
§Arguments
arg- Expression to compute logarithm of
§Returns
Logarithm expression
§Examples
use mathhook_core::functions::elementary::log_eval::ln;
use mathhook_core::expr;
let result = ln(&expr!(1));
assert_eq!(result, expr!(0));