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

Returns the element-wise log(1 + value) of an array.

This overload delegates to the native vectorized NDArray kernel.

import klyn.math

values = NDArray<Double>([0.0, 1.0])
print(Math.log1p(values))