MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guide de l'utilisateur Page 340

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 354
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 339
1 2 ... 335 336 337 338 339 340 341 342 343 344 345 ... 353 354

Commentaires sur ces manuels

Pas de commentaire