I have written a relatively large simulation in Maple10 and it is literally taking forever to run for any decent size and time. I have been trying to convert to C to run in C, which became a serious problem, then I tried to use "compile" which again was very problematic. They seem to work only when the code is written in a C-like format anyway, in other words to use of lists and very fussy with arrays and procedures within procedures seems to create problems. I just wanted to ask if there is something clever I can do, to convert my procedure (there are about 20 of them) and if there is certain rigorous formatting I can do without having to literary re-write my whole code, as that is the way it seems now. I have also used prep2trans and my computer crashed. My main problems seems to come from global variables being recalled and usages of "seq" and created "lists" and anything related to maple's built in function. Any help would be greatly appreciated as I am getting very desperate. Many Thanks

Please Wait...