Patent ID: 8732685

Claim:
A method comprising: associating at least one of a plurality of technical computing environments with a process identifier having a value, associating the at least one of the plurality of technical computing environments with the process identifier being performed by a device; providing a technical programming language control structure in a technical computing program, providing the technical programming language control structure being performed by the device, the technical programming language control structure representing a conditional statement, the conditional statement including a Boolean expression, and the conditional statement being associated with one or more program instructions for processing an array using the plurality of technical computing environments; evaluating the conditional statement, evaluating the conditional statement being performed by the device; executing, based on evaluating the conditional statement, a first selection of the one or more program instructions associated with the conditional statement by using the at least one of the plurality of technical computing environments when the conditional statement evaluates to the value of the process identifier associated with the at least one of the plurality of technical computing environments, executing the first selection of the one or more program instructions being performed by the device; communicating, based on executing the first selection of the one or more program instructions, messages between the plurality of technical computing environments, a quantity of the messages being proportional to a quantity of the plurality of technical computing environments and being independent of a size of the array to be processed using the plurality of technical computing environments, the messages being communicated separately from the array, and communicating the messages being performed by the device; coordinating, based on communicating the messages, processing of the array among the plurality of technical computing environments, coordinating the processing of the array being performed by the device.