Maxima Manual. Node: OPTIMIZATION

PREV MACROS UP Function Definition NEXT Definitions for Function Definition

7.4: OPTIMIZATION

When using TRANSLATE and generating code with MACSYMA, there are a number of techniques which can save time and be helpful. Do DEMO("optimu.dem") for a demonstration. In particular, the function FLOATDEFUNK from TRANSL;OPTIMU FASL, creates a function definition from a math-like expression, but it optimizes it (with OPTIMIZE) and puts in the MODE_DECLAREations needed to COMPILE correctly. (This can be done by hand, of course). The demo will only run in a fresh macsyma.

PREV MACROS UP Function Definition NEXT Definitions for Function Definition