21 Mar
2007
21 Mar
'07
12:57 p.m.
Dear Stefan, Stefan Weinzierl schrieb:
I believe an efficient way to do this is to write the expression as C code into a file, compile and reload the compiled function into memory.
Sheplyakov Alexei schrieb:
However, GiNaC does support code generation, and even got that evil GiNaC::excompiler thing...
The evil thing Alexei mentioned is part of CVS HEAD. Maybe you can have a look at it (it is in the files excompiler.* mostly). Most parts of it are unscrupulously stolen from your code in gtybalt ... Maybe we can combine/improve that code with your patch. What do you think? Regards, Jens