Set Array Size

Changes the size of the input array.

array in

Input array.

array out

Resized array Pad with zeros if the new size is greater than the input array size. Truncate if the new size is lower than the input array size.

new size

New size of the array.