warp.min#

warp.min(a: Scalar, b: Scalar) Scalar#
  • Kernel

  • Differentiable

Compute the minimum value.

On float types, NaN is treated as missing (C fmin semantics): the operation returns the non-NaN operand when exactly one is NaN, and NaN only when both are NaN.

warp.min(
a: Vector[Scalar, Any],
b: Vector[Scalar, Any],
) Vector[Scalar, Any]
  • Kernel

  • Differentiable

Compute the minimum value.

Returns:

The element-wise minimum of a and b.

warp.min(a: Vector[Scalar, Any]) Scalar
  • Kernel

  • Differentiable

Compute the minimum value.

On float types, NaN elements are treated as missing (C fmin semantics); the reduction returns the smallest non-NaN element, or NaN only if every element is NaN.

Returns:

The minimum element of a.