Group Abstract Group Abstract

Message Boards Message Boards

Call Mathematica functions from C++

Posted 11 years ago

Here is an example of how researchers from CERN use Mathematica functions in C++.

I have tried to dissect the code, but I still get plenty of errors when I try to compile it.


Can anyone show a simple example of how to efficiently call Mathematica functions from C++?

POSTED BY: Sandu Ursu
2 Replies
POSTED BY: Neel Basu

There are several possible ways discussed in detail here:

http://mathematica.stackexchange.com/questions/8438/minimal-effort-method-for-integrating-c-functions-into-mathematica

There are more LibraryLink examples here:

http://community.wolfram.com/groups/-/m/t/189735/

Once you are familiar with LibraryLink, you might want to take a look at my package, LTemplate, which makes it much quicker to build complex LibraryLink applications:

http://mathematica.stackexchange.com/questions/96127/how-to-simplify-writing-librarylink-code

POSTED BY: Szabolcs Horvát
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard