Houdini 20.5 Nodes APEX nodes

array::Add<T>

Adds two arrays element-wise.

On this page
Since 20.0

Adds arrays a and b element-wise. If the arrays have different lengths, an error is raised.

Inputs

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

The first array.

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

The second array.

Outputs

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

An array with elements that are the element-wise sum of arrays a and b.

See also

APEX nodes