If anyone here use HPGCC, can you tell, if we can use programs in Mathematica from C?
I guess it is too much to ask, I am just curious.
Mathematica code with C + HPGCC
|
09-28-2010, 10:30 PM
If anyone here use HPGCC, can you tell, if we can use programs in Mathematica from C? I guess it is too much to ask, I am just curious.
09-28-2010, 10:33 PM
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
09-29-2010, 07:25 AM
Quote:
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
10-01-2010, 11:01 AM
I know this is asking for too much on a small device with such a limited resource. Anyway you can do a **lot** with C programming alone, and it makes it worthy. What happened to HPGCC? Is it still under active development? |
« Next Oldest | Next Newest »
|