klyn.math.NDArray.operator/
method
public static native operator/(notnull first as NDArray<T>, notnull second as NDArray<T>) as NDArray<T>
Description

Divides two NDArrays element-wise. Integer quotients truncate toward zero and retain the element width. In particular, signed MIN_VALUE divided by -1 wraps to MIN_VALUE.

a = NDArray<Double>([10.0, 20.0])
b = NDArray<Double>([2.0, 5.0])
c = a / b
Throws
  • NullException if first, second is null at runtime; statically null arguments are rejected with TypeError.