compile_file() error



On 6/13/2012 3:53 AM, Dmitry Shkirmanov wrote:
> Hello. I am trying to learn to compile maxima files  to get the 
> maximal speed of execution.
> For first experience i am using the maple_V_N_test.wxm file that is 
> attached.
> But maxima returns an error. What i am doing wrong?
>
Most people do not compile files, but individual function definitions.
It is unlikely that any item in your file will benefit from compilation, 
since you
have not declared any types.  Even so, there is nothing to speed up other
than  the increment of the index in for j:0 thru N.   The body of the 
loop consists
of calls to functions that are already as compiled as they can be.

My suggestion is that you ignore compilation unless you are trying to do
numerical calculations, and find that it is too slow.

RJF