klyn.math.Math.fmod
method

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

Description

Returns the element-wise floating-point remainder of two arrays.

This overload delegates to the native vectorized NDArray kernel.

    import klyn.math

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