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

Definition at line 171 of file mexaux.hpp.

00172 {
00173   int m = mxGetM(md);
00174   int n = mxGetN(md); iA(n==1);  //cerr<<m<<"   "<<n<<endl;
00175   double* xr = mxGetPr(md);
00176   cd.resize(m*n);
00177   for(int i=0; i<m*n; i++)
00178          cd[i] = xr[i];
00179   return;
00180 }


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