MATLAB PARALLEL COMPUTING TOOLBOX - S Uživatelská příručka Strana 648

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 656
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 647
11 Functions — Alphabetical List
11-304
zeros
Array of zeros
Syntax
Z = zeros(sz,arraytype)
Z = zeros(sz,datatype,arraytype)
Z = zeros(sz,'like',P)
Z = zeros(sz,datatype,'like',P)
C = zeros(sz,codist)
C = zeros(sz,datatype,codist)
C = zeros(sz, ___ ,codist,'noCommunication')
C = zeros(sz, ___ ,codist,'like',P)
Description
Z = zeros(sz,arraytype) creates a matrix with underlying class of double, with
zeros in all elements.
Z = zeros(sz,datatype,arraytype) creates a matrix with underlying class of
datatype, with zeros 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.
arraytype
'codistributed'
Specifies codistributed array, using the default
distribution scheme.
Zobrazit stránku 647

Komentáře k této Příručce

Žádné komentáře