Resize Array

 
 
 

Categories

  • Array

Description

Resizes the input array to the specified size. If the output array is larger than the original input array, you can use the Value port to specify a default value for each new element.

Ports

Inputs

Size

The new size for the input array. If this value is less than the size of the input array, the specified input array will be truncated.

Value

The default value for each new element in the resulting array, if applicable (if the new size is greater than the size of the input array).

Array

The array to resize.

Outputs

Result

The resized array.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License