ikrutox.blogg.se

Vec2 pack
Vec2 pack









vec2 pack

Element i of the result is the element of array that corresponds to the ith true element of mask. Otherwise, the size of the result is the number of true elements in mask, or the number of elements in array (if mask is a scalar with value true).Įlements in array are processed in array element order to form the result array.

vec2 pack

If vector is present, the size of the result is that of vector. The result is a rank-one array with the same type and type parameters as array. If mask is a scalar with value true, vector must have at least as many elements as there are in array.Įlements in vector are used to fill out the result array if there are not enough elements selected by mask. Its size must be at least t, where t is the number of true elements in mask.

vec2 pack

(Input optional) Must be a rank-one array with the same type and type parameters as array. It determines which elements are taken from array. (Input) Must be of type logical and conformable with array. (Input) Must be an array (of any data type). Transformational Intrinsic Function (Generic): Takes elements from an array and packs them into a rank-one array under the control of a mask.











Vec2 pack