array_bounds

Returns the minimum and maximum values from the input array. For structs (vectors and matrices), the minimum and maximum are calculated member-by-member, and the result is the bounding box of the array elements.

For empty arrays, the returned value is 0.

Input

array

The input array.

Outputs

min_bound

The lowest bound found in all array values.

max_bound

The highest bound found in all array values.