Houdini 20.0 Nodes APEX Nodes

array::Max<T>

Finds the maximum element in an array.

On this page
Since 20.0

Finds the largest 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 largest array element.

index: Int

The index of the largest array element.

See also

APEX Nodes