Houdini 12 VEX VEX functions

Efficiently creates an array from its arguments.

  1. arraytype array(...)

You should use function-style casting to ensure the array members have the correct type:

vector v[] = vector(array( 1, {1,2,3}, 3, s, t, Cl, P, N));
float  f[] = float(array(1, 2, s, t, length(P-L), length(N)));

Contexts: all