Houdini 20.0 Nodes APEX Nodes

array::Min<T>

Finds the minimum element in an array.

On this page
Since 20.0

Finds the smallest element in an array. If the array is empty, an error is raised.

Inputs

array: FloatArray, IntArray

The array to search through.

Outputs

value: Float, Int

The value of the smallest array element.

index: Int

The index of the smallest array element.

See also

APEX Nodes