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

  • 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 297
mwArray(<type> re, <type> im)
Purpose Construct complex scalar array of type o f input arguments and initialize
real and imaginary parts of d at a with input argument’s values
C++
Syntax
#include "mclcppclass. h"
double re = 5.0;
double im = 10.0;
mwArray a(re, im); // Creates 1X1 complex array with
// value 5+10i
Arguments re
Scalarvaluetoinitializerealpartwith
im
Scalarvaluetoinitializeimaginarypartwith
Return
Value
None
Description Use this constructor to create a complex scalar array. The first input
argument initializes the real part and the second argument initializes
the imaginary part.
<type> canbeanyofthefollowing: mxDouble,
mxSingle, m xInt8, mxUint8 , mxInt16, mx Uint 16, mxInt32, mxUint32,
mxInt64,ormxUint64. The scalar array is created with the type of the
input arguments.
C-44
Zobrazit stránku 297
1 2 ... 293 294 295 296 297 298 299 300 301 302 303 ... 353 354

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

Žádné komentáře