Hundreds of functions in MATLAB® and other toolboxes are enhanced so that they operate on distributed arrays.
D = distributed(gallery('lehmer',n));
e = eig(D);
If any of the input arguments to these distributed-enabled functions is a distributed
array, their output arrays are distributed, unless returning MATLAB data is more appropriate (for example, numel
).
Distributed arrays are well suited for large mathematical computations, such as large problems of linear algebra. You can also use distributed arrays for big data processing. For more information on distributing arrays, see Distributing Arrays to Parallel Workers.
If a MATLAB function has distributed array support, you can consult additional distributed array usage information on its function page. See Distributed Arrays in the Extended Capabilities section at the end of the function page.
You can also browse distributed support for functions, and filter by product. On the Help bar, click Functions and select a product. In the function list, at the bottom of the left pane, select Distributed Arrays.
For information about updates to individual distributed-enabled functions, see the release notes.
To check support for special distributed data types, consult the following sections.
The following list shows functions that can help you work with sparse distributed arrays. In addition to this list, most element-wise functions in MATLAB also work for distributed arrays.
vertcat([;]) |
calendarDuration
Arrayscategorical
Arraysdatetime
Arraysduration
Arraysstring
Arraystable
Arraystimetable
Arrays