klyn.math.Math.log
method
public static log<NUMBER_TYPE extends AbstractNumber>(values as NDArray<NUMBER_TYPE>) as NDArray<Double>
Description

Returns the element-wise natural logarithm of an array.

This overload delegates to the native vectorized NDArray kernel.

import klyn.math

values = NDArray<Double>([1.0, Math.E])
print(Math.log(values))