dotsimp SciMax Toolbox draw

SciMax Toolbox >> dpart

dpart

Maxima Function

Calling Sequence

dpart (expr, n_1, ..., n_k)

Description

Selects the same subexpression as part, but instead of just returning that subexpression as its value, it returns the whole expression with the selected subexpression displayed inside a box. The box is actually part of the expression.

(%i1) dpart (x+y/z^2, 1, 2, 1);
                             y
(%o1)                       ---- + x
                               2
                            """
                            "z"
                            """
dotsimp SciMax Toolbox draw