MATLAB PARALLEL COMPUTING TOOLBOX - S Betriebsanweisung Seite 639

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 656
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 638
true
11-295
true
Array of logical 1 (true)
Syntax
T = true(sz,arraytype)
T = true(sz,'like',P)
C = true(sz,codist)
C = true(sz, ___ ,codist,'noCommunication')
C = true(sz, ___ ,codist,'like',P)
Description
T = true(sz,arraytype) creates a matrix with true values in all elements.
The size and type of array are specified by the argument options according to the
following table.
Argument Values Descriptions
n Specifies size as an n-by-n matrix.
m,n or [m n] Specifies size as an m-by-n matrix.
sz
m,n,...,k or [m
n ... k]
Specifies size as an m-by-n-by-...-by-k array.
'distributed'
Specifies distributed array.
'codistributed'
Specifies codistributed array, using the default
distribution scheme.
arraytype
'gpuArray'
Specifies gpuArray.
T = true(sz,'like',P) creates an array of true values with the same type as array
P.
C = true(sz,codist) creates a codistributed array of true values with the specified
size. The codistributor object codist specifies the distribution scheme for creating
the codistributed array. For information on constructing codistributor objects, see the
Seitenansicht 638
1 2 ... 634 635 636 637 638 639 640 641 642 643 644 ... 655 656

Kommentare zu diesen Handbüchern

Keine Kommentare