MATLAB Compiler Previous page   Next Page

mwArray(<type> re, <type> im)

Construct complex scalar array of type of the input arguments and initialize real and imaginary parts of data with the input argument's values.

C++ syntax

Arguments

re.   Scalar value to initialize real part with

im.   Scalar value to initialize imaginary part with

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> can be any of the following: mxDouble, mxSingle, mxInt8, mxUint8, mxInt16, mxUint16, mxInt32, mxUint32, mxInt64, or mxUint64. The scalar array is created with the type of the input arguments.


Previous page  mwArray(<type> re) mwArray Clone() const Next page

© 1994-2005 The MathWorks, Inc.