void cpp2mex const DblNumVec &  cd,
mxArray *&  md
[inline]
 

Definition at line 126 of file mexaux.hpp.

00127 {
00128   int m = cd.m();
00129   md = mxCreateDoubleMatrix(m, 1, mxREAL);
00130   double* xr = mxGetPr(md);
00131   for(int i=0; i<m; i++)
00132          xr[i] = cd(i);
00133   return;
00134 }


Generated on Sun Dec 4 19:24:40 2005 for fmm3d by  doxygen 1.4.5