主权项 |
1. A method comprising:
providing, using a computing device, a technical programming language statement,
the technical programming language statement representing an array that is distributed to a plurality of technical computing environments, andthe plurality of technical computing environments being used for parallel processing; storing, using the computing device and based on the technical programming language statement, a first portion of the array in a first technical computing environment of the plurality of technical computing environments; storing, using the computing device and based on the technical programming language statement, a second portion of the array in a second technical computing environment of the plurality of technical computing environments; and granting, using the computing device, the first technical computing environment access to the second portion of the array, stored in the second technical computing environment, until the first technical computing environment performs an operation on the first portion of the array stored in the first technical computing environment,
the first technical computing environment performing the operation on the first portion of the array without communicating with other technical computing environments of the plurality of technical computing environments,the other technical computing environments including the second technical computing environment, andthe first technical computing environment being unable to access the second portion of the array, stored in the second technical computing environment, after performing the operation on the first portion of the array stored in the first technical computing environment. |