public static floor<NUMBER_TYPE extends AbstractNumber>(values as NDArray<NUMBER_TYPE>) as NDArray<NUMBER_TYPE>:
Applies floor element-wise on an array while preserving the array element type.
This overload delegates to the native vectorized NDArray kernel.
import klyn.math values = NDArray<Double>.fromList([1.2, 3.8]) print(Math.floor(values))