MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Use of mathlink in C++


Hi,


   MLPutFunction(stdlink,"Partition",2);
     MLPutFunction(stdlink,"Partition",2);
       MLPutRealList(stdlink,data,nx*ny*nz);
       MLPutInteger(stdlink,nx);
     MLPutInteger(stdlink,ny);

Regards
  Jens

"Ryan Tibshirani" <ryantibs at stanford.edu> schrieb 
im Newsbeitrag news:d2qjc5$p1e$1 at smc.vnet.net...
>
> Hi everyone, I have a question:
>
> I want to pass a three-dimensional array of real 
> numbers from C++ to
> Mathematica, and I want to call Mathematica's 
> ContourPlot3D function
> (from within the C++ program) to graph a contour 
> plot using this array
> as the input data.  Can someone respond with a 
> bit of sample C++ code on
> how to do this?
>
> Thanks very much
> Ryan Tibshirani
> 



  • Prev by Date: Limits at Infinity
  • Next by Date: Re: NSolve an equation involving NIntegrate
  • Previous by thread: Use of mathlink in C++
  • Next by thread: Re: Use of mathlink in C++