Icon

8. Recursive Loop

Recursive Loop
Workflow: Recursive Loop This loop implements the same task as the workflow named "Counting Loop 1".However, in Counting Loop 1 we were adding the iteration number to the x value, because that loop has no memory ofprevious iterations.The recursive loop actually can pass the current results to the next iteration through the second input port of the RecursiveLopp End node.Because of its memory, in this loop we can use x = x+1 and at each step the x value will be incremented of 1.Results however is the same as in Counting Loop 1, as you can see from the Scatter Plot View. 3 cluster2 coordinatescolor by clusterNode 32pass back x and yx = x+1original data plotx-shifted data plot Data Generator Color Manager RecursiveLoop Start Recursive Loop End Math Formula Scatter Plot Scatter Plot Workflow: Recursive Loop This loop implements the same task as the workflow named "Counting Loop 1".However, in Counting Loop 1 we were adding the iteration number to the x value, because that loop has no memory ofprevious iterations.The recursive loop actually can pass the current results to the next iteration through the second input port of the RecursiveLopp End node.Because of its memory, in this loop we can use x = x+1 and at each step the x value will be incremented of 1.Results however is the same as in Counting Loop 1, as you can see from the Scatter Plot View. 3 cluster2 coordinatescolor by clusterNode 32pass back x and yx = x+1original data plotx-shifted data plotData Generator Color Manager RecursiveLoop Start Recursive Loop End Math Formula Scatter Plot Scatter Plot

Nodes

Extensions

Links