Ask Your Question
0

Documentation erratum

asked 2019-01-03 06:08:38 -0500

sagenotdead gravatar image

In the official documentation: doc.sagemath.org/html/en/reference/calculus/sage/symbolic/expression.html

the section related to the command "full_simplify()" should be renamed as "simplify_full()".

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2019-01-03 06:36:15 -0500

vdelecroix gravatar image

Why is that? Both functions work identically

sage: E = (x^2 + 2*x + 1) / (x + 1)
sage: E
(x^2 + 2*x + 1)/(x + 1)
sage: E.full_simplify()
x + 1
sage: E.simplify_full()
x + 1

Actually one is an alias of the other

sage: E.full_simplify == E.simplify_full

I would rather update the documentation to mention that both names are valid.

edit flag offensive delete link more

Comments

Ok it is. It seems very strange to have such alias (⊙_⊙')

sagenotdead gravatar imagesagenotdead ( 2019-01-03 07:13:51 -0500 )edit

simplify_full exists so that it appears under tab completion on E.simplify. full_simplify exists maybe because sometimes people use this name (in maple?, in mathematica? for instance)

Sébastien gravatar imageSébastien ( 2019-01-03 10:31:45 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-01-03 06:08:38 -0500

Seen: 30 times

Last updated: Jan 03