Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Use of mathlink in C++

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55729] Re: Use of mathlink in C++
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 5 Apr 2005 03:20:48 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <d2qjc5$p1e$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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++