10.1.4 Automatic simplification
The autosimplify
command determines how much simplification
Xcas will do automatically when you enter an expression. Note
that autosimplify only works with Xcas, it does not
work with icas or any other frontend.
By default, Xcas will apply the regroup command (see
Section 10.1.1) to your input, but the autosimplify
command can change this to applying another rewriting command to your
input, such as simplify (see Section 10.1.3),
factor (see Section 9.1.10), or even nop for
no simplification. With no arguments, autosimplify will
return the current rewriting command. Otherwise:
-
autosimplify command takes
cmd, a command that will be used to rewrite the results in
Xcas.
- autosimplify(cmd) will
tell Xcas to apply cmd to subsequent inputs.
To change the simplification mode during a session, the
autosimplify command should be on its own line.
Examples
then:
then:
then:
then: