MATLAB PARALLEL COMPUTING TOOLBOX - S Guia do Utilizador Página 609

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 608
randn
11-265
randn
Array of randn values
Syntax
R = randn(sz,arraytype)
R = randn(sz,datatype,arraytype)
R = randn(sz,'like',P)
R = randn(sz,datatype,'like',P)
C = randn(sz,codist)
C = rand(sz,datatype,codist)
C = randn(sz, ___ ,codist,'noCommunication')
C = randn(sz, ___ ,codist,'like',P)
Description
R = randn(sz,arraytype) creates a matrix with underlying class of double, with
randn values in all elements.
R = randn(sz,datatype,arraytype) creates a matrix with underlying class of
datatype, with randn 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.
arraytype
'codistributed'
Specifies codistributed array, using the default
distribution scheme.
Vista de página 608
1 2 ... 604 605 606 607 608 609 610 611 612 613 614 ... 655 656

Comentários a estes Manuais

Sem comentários