dispflag SciMax Toolbox dispfun

SciMax Toolbox >> dispform

dispform

Maxima Function

Calling Sequence

dispform (expr)

Description

Returns the external representation of expr with respect to its main operator. This should be useful in conjunction with part which also deals with the external representation. Suppose expr is -A . Then the internal representation of expr is "*"(-1,A), while the external representation is "-"(A). dispform (expr, all) converts the entire expression (not just the top-level) to external format. For example, if expr: sin (sqrt (x)), then freeof (sqrt, expr) and freeof (sqrt, dispform (expr)) give true, while freeof (sqrt, dispform (expr, all)) gives false.

dispflag SciMax Toolbox dispfun