C Math Library Reference    
mlfDoubleMatrix

Create a matrix of double precision values

C Prototype

Arguments
int m
   Number of rows.

int n
   Number of columns.

const double *pr
   Pointer to values to initialize the mxArray array vector of real values.

const double *pi
   Pointer to values to initialize the mxArray array vector of imaginary values. Specify NULL if there is no imaginary part.

Description

This routine creates a complex, two-dimensional array whose contents are initialized to the real part, pr, and the imaginary part, pi.

Example

This example creates a 3-by-2 matrix of double precision, complex numbers.


 mlfCreateColonIndex mlfEnd