-
Notifications
You must be signed in to change notification settings - Fork 10
Modify Array
Ryan Porter edited this page Feb 12, 2017
·
2 revisions
This node applies a function to the input array and outputs the result.
Attribute Name | Description | Attribute Type |
---|---|---|
input (i) | Input values | doubleArray |
operation (op) | The operation that will be applied to the input values. |
enum |
reverse (r) | If true, the values will be output in reverse order. | boolean |
output (o) | Result of the operation. | doubleArray |
Operation | Description |
---|---|
No Operation | Output will be identical to the input. |
Sort | Output will contain all the values of the input, sorted by value. |
Reflect Left | Output will be the input reflected across the first value. For example: : [0, 1, 2, 3, 4] -> [4, 3, 2, 1, 0, 1, 2, 3, 4] |
Reflect Right | Output will be the input reflected across the last value. For example: [0, 1, 2, 3, 4] -> [0, 1, 2, 3, 4, 3, 2, 1, 0] |