klyn.math.Math.ceil
method
public static ceil<NUMBER_TYPE extends AbstractNumber>(values as NDArray<NUMBER_TYPE>) as NDArray<NUMBER_TYPE>:
Description
Applies `ceil` 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.ceil(values))