autosimplify command: English documentation

Messages in english

compsystems
Messages : 518
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

autosimplify command: English documentation

Hello, respected Mr. Bernard
Greetings from South America

In the online documentation in English I cannot find information about the autosimplify command, for this reason, I want to contribute to complete the English documentation, and also creating command by command of the documentation in my native Spanish language, to this requires, please, if you agree, verify the following wording, you can expand it, correct it, etc.

To rewrite the results according to your choice: autosimplify(cmds)

autosimplify has as argument a command(keyword) or number that Xcas will use to rewrite answers. the default value is 'regroup' or 1/true. For no simplification it is 'nop'/ or 0/false. For maximum simplification, it is 'simplify' or 2

If you don't want automatic simplifications throughout the session, you will have to type at the start of the session: autosimplify(nop).
If you want to change the simplification mode during the session, the new autosimplify(cmds) must be alone on a line.

autosimplify(cmds) always at the output will return 1
autosimplify() always returns the keyword of the current command: 'Nop', 'regroup', 'simplify'

[F1: XCAS-local installation]
autosimplify
autosimplify(nop)
autosimplify(0)
autosimplify(false)
autosimplify(regroup)
autosimplify(1)
autosimplify(factor)
autosimplify(simplify)
autosimplify(2)
autosimplify()

[on-line Documentacion]
autosimplify(1)
or
autosimplify(regroup)

Then we write:
1+x^2-2
We get:
x^2-1

We type on a line:
autosimplify(factor)
Then we write:
1+x^2-2
We get:
(x-1)*(x+1)

we write:
autosimplify(nop)
or
autosimplify(0)
Then we write:
1+x^2-2
We get:
1+x^2-2

Then we write:
autosimplify(regroup)
We get at the start of the session:
x^2-1

we write:
autosimplify()
We get:
regroup

Related commands
simplify

work session test (inputs)

Code : Tout sélectionner

``````autosimplify(0)
autosimplify()
autosimplify(1)
autosimplify()
autosimplify(2)
autosimplify()
autosimplify('Nop')
autosimplify()
autosimplify('regroup')
autosimplify()
autosimplify('simplify')
autosimplify()
autosimplify(false)
autosimplify()
autosimplify(true)
autosimplify()
autosimplify(regroup)
1+x^2-2
autosimplify(factor)
1+x^2-2
autosimplify(nop)
1+x^2-2
autosimplify(regroup)
1+x^2-2
autosimplify()
``````

parisse
Messages : 5081
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: autosimplify command: English documentation

I'm certainly not the best to verify English wording...
If you want to translate the reference documentation (in Spanish?), that would be a very welcome addition. If it's done in latex, it could be integrated in the online help system (I mean from the short help, clicking on Details would open the latex to HTML translated documentation).

compsystems
Messages : 518
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Re: autosimplify command: English documentation

in the following link I will place the progress of each Xcas command in text format, in the future in html and I will look for collaborators to improve the writing in English and in latex format =)

http://www.eonicasys.com/CAS/xcas/