MathLink is a suite of Mathematica functions that implement a protocol for the communication/interfacing of Mathematica with external programs.
10
votes
5answers
522 views
Connecting to and disconnecting from a continuously running kernel, on demand
I realized that there are lots of advantages to driving C/C++/FORTRAN code directly from Mathematica as LibraryLink functions (instead of running them from the command line or a shell script, as I ...
6
votes
1answer
181 views
Is the communication protocol underlying MathLink user-customizable?
MathLink supports two communication protocols on all platforms: TCPIP or shared memory. There are additional protocols supported on some systems only ("FileMap" and "Pipes" according to the docs).
I ...
11
votes
1answer
372 views
Is it possible to use C# LINQ from Mathematica using .NET/Link?
Using Mathematica's .NET/Link (NETLink`) package, is it possible to call out to .NET's LINQ facilities for list manipulation and other operations?
10
votes
2answers
272 views
Correct way to handle mysterious NaN` result from MathLink function
I have a Mathematica expression that is mapped onto an external C function via MathLink. The external function passes a ...
11
votes
2answers
470 views
How to run mathlink external commands in parallel?
I have an external function called increment (for the sake of illustration) that I call from Mathematica using MathLink. I.e.,
...
39
votes
5answers
1k views
Minimal effort method for integrating C++ functions into Mathematica
As of Mathematica 8, what is the minimal effort way to integrate an existing C++ function into Mathematica?
I think we have these:
MathLink (it was quite long ago I used it last time)
communication ...