MATLAB PARALLEL COMPUTING TOOLBOX - S Guida Utente Pagina 383

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 382
codistributed.sprandn
11-39
spmd(4)
CS = codistributed.sprandn(1000, 1000, .001);
end
creates a 1000-by-1000 sparse codistributed double array CS with approximately 1000
nonzeros. CS is distributed by its second dimension (columns), and each worker contains
a 1000-by-250 local piece of CS.
spmd(4)
codist = codistributor1d(2, 1:numlabs);
CS = sprandn(10, 10, .1, codist);
end
creates a 10-by-10 codistributed double array CS with approximately 10 nonzeros. CS is
distributed by its columns, and each worker contains a 10-by-labindex local piece of CS.
More About
Tips
When you use sprandn on the workers in the parallel pool, or in an independent or
communicating job (including pmode), each worker sets its random generator seed to
a value that depends only on the labindex or task ID. Therefore, the array on each
worker is unique for that job. However, if you repeat the job, you get the same random
data.
See Also
sprandn | rand | randn | sparse | codistributed.speye |
codistributed.sprand | distributed.sprandn
Vedere la pagina 382
1 2 ... 378 379 380 381 382 383 384 385 386 387 388 ... 655 656

Commenti su questo manuale

Nessun commento

Anthem A2 manuály

Uživatelské manuály a uživatelské příručky pro Přijímače a zesilovače Anthem A2.
Poskytujeme 1 manuály pdf Anthem A2 ke stažení zdarma podle typů dokumentů: Uživatelský manuál






Další produkty a příručky pro Přijímače a zesilovače Anthem

Modely Typ Dokumentu
P5 Uživatelský manuál   Anthem P5 User Manual, 10 stránky
PVA 8 Uživatelský manuál   Anthem PVA 8 User Manual, 12 stránky
MRX 710 Uživatelský manuál   Anthem MRX 710 User Manual, 60 stránky
MRX 710 Uživatelský manuál   Anthem MRX 710 Manuel d'utilisation, 60 stránky
BLX 200 Uživatelský manuál   Anthem BLX 200 User Manual, 46 stránky