klyn.math.Math.fmod
method

    public static fmod<LEFT_TYPE extends AbstractNumber, RIGHT_TYPE extends AbstractNumber>(value as NDArray<LEFT_TYPE>, divisor as RIGHT_TYPE) as NDArray<Double>:

Description

Returns the element-wise floating-point remainder of an array by a scalar.

This overload delegates to the native vectorized NDArray kernel.

    import klyn.math

    values = NDArray<Double>.fromList([7.5, 9.0])
    print(Math.fmod(values, 2.0))