let_rule_packages SciMax Toolbox letrules

SciMax Toolbox >> letrat

letrat

Option variable

letrat

Description

Default value: false

When letrat is false, letsimp simplifies the numerator and denominator of a ratio separately, and does not simplify the quotient.

When letrat is true, the numerator, denominator, and their quotient are simplified in that order.

(%i1) matchdeclare (n, true)$
(%i2) let (n!/n, (n-1)!);
                         n!
(%o2)                    -- --> (n - 1)!
                         n
(%i3) letrat: false$
(%i4) letsimp (a!/a);
                               a!
(%o4)                          --
                               a
(%i5) letrat: true$
(%i6) letsimp (a!/a);
(%o6)                       (a - 1)!
let_rule_packages SciMax Toolbox letrules