Mathematica 9 is now available
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: [mg55780] Re: Use of mathlink in C++
  • From: "ragfield" <ragfield at gmail.com>
  • Date: Wed, 6 Apr 2005 03:11:08 -0400 (EDT)
  • References: <d2qjc5$p1e$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

MLINK theLink = ...;
double* the3DData = ...;
long theDimensions[3] = { dim1, dim2, dim3 };
const char* theHeads[3] = { "List", "List", "List" };

MLPutDoubleArray(theLink, theData, theDimensions, theHeads, 3);


  • Prev by Date: Re: How to change the ResultFormatType of the MathKernel in a ASP.NET Web Application?
  • Next by Date: Re: Y axis labelling on OS X. new (to me) development.
  • Previous by thread: Re: Use of mathlink in C++
  • Next by thread: unable to compile function with Part as an argument