Repeat Data and Concatenate Copies

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step copies the input data for the specified number of times and outputs the duplicated data in sequence. For example, if the original data list is [10, 20] and it needs to be repeated 2 times, the output will be [10, 20, 10, 20].

Usage Scenario

This Step is a general data list modifying Step. Usually used with the Step Count Elements in Specified Dimension in Data List to make the numbers of elements input to a subsequent Step’s ports equal.

Input and Output

Input

Input port Data type Description

N Copies

Number

Input the number of times of repeating to this port.

Unnamed

Abstract[]n

Input the data that needs to be repeated to this port.

Output

Output port Data type Description

Unnamed

Abstract[]n

Repeated and concatenated data.

Parameter Description

Ports Settings

Parameter Description

Port Number (1–15)

Parameter description: This parameter is used to set the number of input/output ports of the Step.
Default value: 1
Instruction: You can configure 1 to 15 ports, and each port corresponds to one channel of data to be duplicated.

Operation Layer

Parameter description: This parameter is used to set the level of data on which the duplication operation is performed. If the operation layer is set to 0, the operation will be performed on every element in the list.

Top Level

Parameter description: This parameter is used to set whether the duplication operation is performed on the top-level dimension of the data or on all dimensions.
Default value: Selected
Instruction: If selected, only the top-level list of the data is duplicated and concatenated. If not selected, all dimensions of the data are duplicated and concatenated.

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.