I'm thinking about using Raspberry Pi to support a course on numerical analysis. Most programming would be done in C and Mathematica has C code generation facilities that would be useful.
http://reference.wolfram.com/mathematic ... #509267359
Specifically, I'm thinking of this example:
cFun = Compile[{{x}}, x^2 + Sin[x^2]];
Export[ "cFun.c", cFun, "C"]
However, I can't seem to get it to work. Instead I get the error
Get::noopen : Cannon open CCodeGenerator`.
Needs::nocont : Context CCodeGenerator` was not created when Needs was evaluated
So I am wondering, am I doing something wrong?
I'm using 2014-01-07-wheezy-raspbian.
If someone could verify whether this example works or not with their Pi I would greatly appreciate it.