amax#
Fully qualified name: isaacsim::common::array::amax
-
Array isaacsim::common::array::amax(const Array &a)#
Returns the largest array element.
The whole array is reduced, regardless of its rank, to a 0-D Array that keeps the operand’s dtype and device, so a CUDA result stays on the device; read it with
item<T>().NaNpropagates: a floating-point array containing one reduces toNaN.Note
Named after NumPy’s
numpy.amaxalias rather thanmax, for the reason given inamin().