Posts: 528

Threads: 40

Joined: Dec 2008

Sujith,

I don't know if this is possible but I doubt it. We would have to port the Mathematica programs, along with Mathematica itself, to the calculator and then call the programs from within C code. I can't imagine that the calculator has enough memory for that.

Dave

Posts: 17

Threads: 0

Joined: Aug 2010

Quote:

If anyone here use HPGCC, can you tell, if we can use programs in Mathematica from C?

At least the naming conventions are a bit different on both sides. A quick lookup involving the result of Integrate[1/(1 + x^3), x] and piping it through CForm in Mathematica showed, that Mathematica uses ArcTan, Sqrt, Log, and Power, whereas HPGCC prefers atan, sqrt, and log. Trying to compile Mathematica generated C-Code within HPGCC thus yields messages like

warning: implicit declaration of function 'ArcTan'

warning: implicit declaration of function 'Sqrt'

warning: implicit declaration of function 'Log'

warning: implicit declaration of function 'Power'

but nevertheless compiles something. But this is the opposite direction compared to your question :-(

Kind regards, Ralf.