MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Uživatelská příručka Strana 320

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 354
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 319
mwArray RowIndex() const
Purpose Return array containing row indices of each element in array
C++
Syntax
#include <stdio.h>
#include "mclcppclass. h"
mwArray a(1, 1, mxDOUBLE_CLASS);
mwArray rows = a.RowIndex();
Arguments None
Return
Value
An mwArray containing the row indices.
Description Returns an array of type mxINT32_CLASS representing the row indices
(first dimension) of this array. For sparse arrays, the indices are
returned for just the non-zero elements and the size of the array
returned is 1-by-
NumberOfNonZeros(). For nonsparse arrays, the size
of the array returned is 1-by-
NumberOfElements(),andtherowindices
of all o f the elements are returned.
C-66
Zobrazit stránku 319
1 2 ... 315 316 317 318 319 320 321 322 323 324 325 ... 353 354

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

Žádné komentáře