User`s guide
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