Re: MathLink: letting Mathematica do the hard work
- To: mathgroup at smc.vnet.net
- Subject: [mg77812] Re: MathLink: letting Mathematica do the hard work
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Sun, 17 Jun 2007 06:08:59 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <firstname.lastname@example.org>
alexxx.magni at gmail.com wrote:
> Hi everybody,
> In a C program I'm writing, I need to perform a traveling-salesman-
> type calculation.
> Knowing that Mathematica surely optimized it better than I could be
> able to, I wanted to see if it exists a way to call the kernel from my
> C program, pass to it my list of vertices, and get the result.
>>From what I found until now it seems to me that MathLink is mostly
> used in the opposite direction: to call external programs from
> Do you know if the opposite is possible?
> Alessandro Magni
A good place to start are the following sections from the Mathematica
Book 5th Edition:
"2.13.9 Two-Way Communication with External Programs"
"2.13.12 Manipulating Expressions in External Programs"
"2.13.14 Running Mathematica from Within an External Program"
Prev by Date:
Re: a beginner's question
Next by Date:
Previous by thread:
MathLink: letting Mathematica do the hard work
Next by thread:
ListConvolve on TIFF images