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

Returns the element-wise e^value - 1 of an array.

This overload delegates to the native vectorized NDArray kernel.

import klyn.math

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