Question: external dll EvalMapleStatement

Call EvalMapleStatement from c dll.

expression always has form like "F(0.4, 0.7, 0.9);" i.e. maple defined function called. All i need it's value without any kind of caching. But memory usage dramatically grows. Help to overcome it!

 

Tried already EvalMapleStatement ("forget(F);") - do not work. I'm out of ideas what maple also caches. F itself is complicated enought. And not known a priori. How to clear all caches of other functions that f might call?

Please Wait...