MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Betriebsanweisung Seite 340

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 354
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 339
mwArray& operator=(const <type>& x)
Purpose Assign single scalar value to a rray
C++
Syntax
#include "mclcppclass. h"
mwArray a(2, 2, mxDOUBLE_CLASS);
a(1,1) = 1.0; // assigns 1.0 to element (1,1)
a(1,2) = 2.0; // assigns 2.0 to element (1,2)
a(2,1) = 3.0; // assigns 3.0 to element (2,1)
a(2,2) = 4.0; // assigns 4.0 to element (2,2)
Arguments x
Value to assign
Return
Value
A reference to the invoking mwArray.
Description Use this operator to set a single scalar v alue. This operator is
overloaded for all numeric and log ical types.
C-86
Seitenansicht 339
1 2 ... 335 336 337 338 339 340 341 342 343 344 345 ... 353 354

Kommentare zu diesen Handbüchern

Keine Kommentare