Questions tagged [mathlink]

MathLink is an API provided by Wolfram that allows programs to expose functionality to Mathematica and/or utilize the power of Mathematica's kernel.

"Extensively used within the Mathematica system itself, MathLink is Mathematica's unique high-level symbolic interface standard for interprogram communication. With convenient bindings for a variety of languages, MathLink immediately allows arbitrary symbolic objects—representing data, programs, or any other construct—to be efficiently exchanged between programs, on one computer or across a heterogeneous network." - MathLink API

36 questions
0
votes
0 answers

Result from Mathematica in Python via Wolframclient: How to make the result more beautiful?

i connected python with mathematica and called the solve method from mathematica in python (with WolframclientForPython). The result is the same as in mathematica but in python I only get classes that are cryptic to read. If i print a result in…
Bla Bla
  • 33
  • 4
0
votes
1 answer

Passing a MathLink Function Lists With Different Structures

I've been developing a MathLink application with a function that accepts two lists, e.g. :Pattern: g[zi_List, fi_List] which I intended to pull in to the function manually. Both lists can be real or complex with the result being complex if either…
rcollyer
  • 10,475
  • 4
  • 48
  • 75
0
votes
2 answers

Setting ComplexType in MathLink

I have another one. I tried to use ml.ComplexType = System.Type.GetType("Complex"); in C# with the Mathematica MathLink, but when I tried to read the numbers with GetComplexArray, it threw an exception stating that I must use the method…
PrinceBilliard
  • 181
  • 1
  • 17
0
votes
1 answer

J/Link (MathLink) - evaluateToImage() always returns null

I'm currently working on an application that uses J/Link (MathLink). However, I am having some trouble with the KernelLink.evaluateToImage() function. My current code is: byte[] gifData = kl.evaluateToImage("Plot[x,{x,0,1}]",0,0); if…
0
votes
1 answer

MathLink not linking to Cocoa project

I'm trying to build a Cocoa app that connects to the Mathematica kernel. Upon building, I get the following: Ld /Users/firelizzard/Library/Developer/Xcode/DerivedData/EE606_Project_3-emhkyuccnhcwxwaxlkoftpwzvicx/Build/Products/Debug/EE606\ Project\…
Ethan Reesor
  • 2,090
  • 1
  • 23
  • 40
0
votes
1 answer

CUDA Mathlink in Mathematica 8.0 Not Installing

I have created a simple example for CUDA and Mathlink based on the website here: http://hpc.nomad-labs.com/archives/3 When I attempt to install the function in Mathematica using "Install[...]", Mathematica never finishes the installation of that…
1 2
3