Transform - Numeric Vectors

Transforms which appear in the template list when a numeric vector field has been picked in the Transform pane.  

 

Numeric vector fields are fields with ordered sets of multiple numbers, of x2 type float32x2, float64x2, int8x2, int16x2, int32x2, int64x2uint8x2, uint16x2, uint32x2, uint6x2, of x3 type float32x3, float64x3, int8x3, int16x3, int32x3, int64x3uint8x3, uint16x3, uint32x3, uint6x3, or of x4 type float32x4, float64x4, int8x4, int16x4, int32x4, int64x4uint8x4, uint16x4, uint32x4, uint6x4.   

 

For operations on single numbers, see the Transform - Numbers topic.

 

For examples and illustrations of options and available operations, click on the template's link to jump to that template's topic.

 

Compose

Compose a numeric vector value, either a new vector composed from specified numbers or a rearrangement of an existing vector by rearranging existing numbers within the vector

 

  • new - Compose a new numeric vector from numeric values. 

  • rearrange values - Rearrange values within an existing numeric vector. Setting a specific value to (none) sets it to 0.

 

Copy

Copy into the specified Result destination the values in the source field.  Provides a quick way to extract a desired component from a numeric vector into a single, non-vector (scalar) number.

 

  • value 0 - Copy the first component of a numeric vector into the specified Result destination using the specified numeric type.
  • value 1 - Appears with x2, x3, and x4 numeric vector types.  Copy the second component of the vector into the specified Result destination using the specified numeric type.
  • value 2 - Appears with x3 and x4 numeric vector types.  Copy the third component of the vector into the specified Result destination using the specified numeric type.
  • value 3 - Appears with x4 numeric vector types.  Copy the fourth component of the vector into the specified Result destination using the specified numeric type.
  • vector -  Copy into the Result destination the vector value in the source field.  Destination will be the same x2, x3, or x4 vector type.

 

Expression

Save the result of the given expression into the specified Result destination using the specified numeric type.

 

See Also

Transform Pane

 

Transform Reference

 

Transform - Expression

 

Transform - Numbers

 

Transform - Numeric Vectors: Compose

 

Transform - Numeric Vectors: Copy

 

Transform - Numeric Vectors: Expression