MATLAB PARALLEL COMPUTING TOOLBOX - S Guide de l'utilisateur Page 306

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 656
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 305
10 Objects — Alphabetical List
10-6
Composite
Access nondistributed variables on multiple workers from client
Constructor
Composite
Description
Variables that exist on the workers running an spmd statement are accessible on the
client as a Composite object. A Composite resembles a cell array with one element for
each worker. So for Composite C:
C{1} represents value of C on worker1
C{2} represents value of C on worker2
etc.
spmd statements create Composites automatically, which you can access after the
statement completes. You can also create a Composite explicitly with the Composite
function.
Methods
Other methods of a Composite object behave similarly to these MATLAB array functions:
disp, display Display Composite
end Indicate last Composite index
isempty Determine whether Composite is empty
length Length of Composite
ndims Number of Composite dimensions
numel Number of elements in Composite
size Composite dimensions
Vue de la page 305
1 2 ... 301 302 303 304 305 306 307 308 309 310 311 ... 655 656

Commentaires sur ces manuels

Pas de commentaire