Maxima Manual. Node: OPTIMIZATION MACROS
Function Definition
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.

MACROS
Function Definition
Definitions for Function Definition