klyn.math.NDArray.trunc
method
public trunc() as NDArray<T>:
Description
Applies `trunc` element-wise while preserving the array element type.
a = NDArray<Double>.fromList([-1.2, 3.8])
print(a.trunc())