MATLAB PARALLEL COMPUTING TOOLBOX - S Guía de usuario Pagina 603

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 656
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 602
rand
11-259
rand
Array of rand values
Syntax
R = rand(sz,arraytype)
R = rand(sz,datatype,arraytype)
R = rand(sz,'like',P)
R = rand(sz,datatype,'like',P)
C = rand(sz,codist)
C = rand(sz,datatype,codist)
C = rand(sz, ___ ,codist,'noCommunication')
C = rand(sz, ___ ,codist,'like',P)
Description
R = rand(sz,arraytype) creates a matrix with underlying class of double, with rand
values in all elements.
R = rand(sz,datatype,arraytype) creates a matrix with underlying class of
datatype, with rand 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 pagina 602
1 2 ... 598 599 600 601 602 603 604 605 606 607 608 ... 655 656

Comentarios a estos manuales

Sin comentarios