divide#
Fully qualified name: isaacsim::common::array::divide
-
Array isaacsim::common::array::divide(const Array &a, const Array &b)#
Divides two arrays element-wise using true division.
The operands are broadcast against each other (see
subtract()for a description of the shared broadcasting and promotion rules). The result is always floating-point: it isfloat32only when the promoted dtype of the operands is alreadyfloat32, andfloat64otherwise, so boolean and integer operands produce afloat64result. Division by zero therefore yields infinity or NaN rather than being undefined.