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

  • 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 315
bool Equals(const mwA rray& arr) const
Purpose Test two arrays for equality
C++
Syntax
#include "mclcppclass. h"
mwArray a(1, 1, mxDOUBLE_CLASS);
mwArray b(1, 1, mxDOUBLE_CLASS);
a = 1.0;
b = 1.0;
bool c = a.Equals(b); // Should return true.
Arguments arr
Array to compare to array
Return
Value
Boolean value indicating the equality of the two arrays.
Description Returns true if the input array is byte-wise equal to this array. This
method makes a byte-wise comparison of the underlying arrays.
Therefore, arrays of the sam e type should be compared. Arrays of
different types will not in general be equal, e ven if th ey a re in itial ized
withthesamedata.
C-62
Zobrazit stránku 315
1 2 ... 311 312 313 314 315 316 317 318 319 320 321 ... 353 354

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

Žádné komentáře