MATLAB PARALLEL COMPUTING TOOLBOX - S Podręcznik Użytkownika Strona 482

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 481
11 Functions — Alphabetical List
11-138
Inf
Array of infinity
Syntax
A = Inf(sz,arraytype)
A = Inf(sz,datatype,arraytype)
A = Inf(sz,'like',P)
A = Inf(sz,datatype,'like',P)
C = Inf(sz,codist)
C = Inf(sz,datatype,codist)
C = Inf(sz, ___ ,codist,'noCommunication')
C = Inf(sz, ___ ,codist,'like',P)
Description
A = Inf(sz,arraytype) creates a matrix with underlying class of double, with Inf
values in all elements.
A = Inf(sz,datatype,arraytype) creates a matrix with underlying class of
datatype, with Inf 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.
Przeglądanie stron 481
1 2 ... 477 478 479 480 481 482 483 484 485 486 487 ... 655 656

Komentarze do niniejszej Instrukcji

Brak uwag