Reshape Array
Description
Changes the dimensions of an array according to the values of dimension size 0..m-1.
Warning : A new tensor is created for the output.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Documentation illustration (illustration unavailable in the archive). n-dim array : class, n-dimensional tensor.
Documentation illustration (illustration unavailable in the archive). dimension_size : array, specifies the dimensions of m-dim array.
Output parameters
Documentation illustration (illustration unavailable in the archive). m-dim array : class, if the product of the dimension sizes is greater than the number of elements in the input array, the function pads the new array with the default of the data type of n-dim array. If the product of the dimension sizes is less than the number of elements in the input array, the function truncates the array.
Examples
All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Accelerator library to run it).
Documentation illustration (illustration unavailable in the archive).
