void cpp2mex const vector< double > &  cd,
mxArray *&  md
[inline]
 

Definition at line 181 of file mexaux.hpp.

00182 {
00183   int m = cd.size();
00184   int n = 1;
00185   md = mxCreateDoubleMatrix(m, n, mxREAL);
00186   double* xr = mxGetPr(md);
00187   for(int i=0; i<m*n; i++)
00188          xr[i] = cd[i];
00189   return;
00190 }


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