pub fn ln<T: Float + Signed, S: Data<Elem = T>, D: Dimension>(
data: ArrayBase<S, D>,
) -> Result<Array<T, D>, LogCodecError>Expand description
Compute $\ln(x)$ over the elements of the input data array.
ยงErrors
Errors with
LogCodecError::NonPositiveDataif any data element is non-positive (negative or zero)LogCodecError::NonFiniteDataif any data element is non-finite (infinite or NaN)