ArrayExtract

Parent Previous Next

Full Library / Math Operator / Array / ArrayExtract
Block Name: ArrayExtract

Code File Location: VisualSim/actor/lib/ArrayExtract

Block Overview

o       Extract a subarray from an array. This actor reads an array from the input port and sends a subarray to the output port, possibly padded with zeros. The segment of the input array starting at sourcePosition with length extractLength is copied to the output array, starting at destinationPosition. The total length of the output array is outputArrayLength. Any of its entries that are not supplied by the input have value zero (of the same type as the entries in the input array). With the default values of the parameters, only the first element of the input array is copied to the output array, which has length one.

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software