amin#
Fully qualified name: isaacsim::common::array::amin
-
Array isaacsim::common::array::amin(const Array &a)#
Returns the smallest 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.aminalias rather thanminbecause<windows.h>definesminandmaxas function-like macros. The preprocessor runs before name lookup, so the namespace would not protect the call:array::min(a)expands the macro and fails to compile in any translation unit that includes<windows.h>withoutNOMINMAX.