Vector Type Splitter Element



The Splitter element doesn't support non-scalar data types. This means you have to create multiple Splitter elements for each item of an array input, which can be very time consuming if there are many items in the array. This model uses a Script element to perform the same functionality of a Splitter element except that it works with a Vector data type inputs for the "Amount" input and each of the "Splitter Fraction" inputs. The output of the "Splitter" script is a matrix with rows corresponding to the items of the vector inputs and columns corresponding to the number of "splitting" fraction inputs, including the remainder.


Making Better Decisions In An Uncertain World