Houdini 20.5 Nodes APEX nodes

array::Sum<T>

Finds the sum of the array elements.

On this page
Since 20.0

Finds the sum of the array elements. For array elements that contain vectors or matrices, component-wise addition is performed between the vectors/matrices in the different array elements.

Inputs

array: FloatArray, IntArray, Matrix3Array, Matrix4Array, Vector2Array, Vector3Array, Vector4Array

The input array.

Outputs

result: Float, Int, Matrix3, Matrix4, Vector2, Vector3, Vector4

The sum of the array elements.

APEX nodes