public native floor() as NDArray<T>
Applies floor element-wise while preserving the array element type.
floor
a = NDArray<Double>.fromList([1.2, 3.8]) print(a.floor())