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

  • 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 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
Vue de la page 638
1 2 ... 634 635 636 637 638 639 640 641 642 643 644 ... 655 656

Commentaires sur ces manuels

Pas de commentaire