iarray.log#

iarray.log(iarr: IArray, /)#

Natural logarithm, element-wise.

The natural logarithm log is the inverse of the exponential function, so that \(\log(\exp(x)) = x\). The natural logarithm is logarithm in base \(e\).

Parameters

iarr (IArray container) – Input array. Should have a floating-point data type.

Returns

out – A lazy expression that must be evaluated via out.eval(), which will compute the natural logarithm of input data, element-wise.

Return type

iarray.Expr

References

np.log