[Maxima] compile_file() error

Rupert Swarbrick rswarbrick at gmail.com
Wed Jun 13 16:37:20 CDT 2012


Richard Fateman <fateman at eecs.berkeley.edu> writes:
> Compiling an assignment of a symbolic expression to a name will not
> make it run faster.
>
> You can compile a function this way:
>
>  f (x) :=  (1/2)*exp(-(1/4)*(sqrt(k[1]^2+k[2]^2+k[3]^2)-m)^2 /
> (sigma)) / (Pi^(3/2));
>
> compile(f);

I'm a bit confused about why you wrote this email. The message that you
appear to be replying to (although you don't quote any of it) is from me
and demonstrates the smallest cut-down example that I can make
triggering the bug in the Maxima translator.

It isn't intended to speed up anything.

Rupert


More information about the Maxima mailing list