@@ -10623,20 +10623,20 @@ cdef class Expression(Expression_abc):
10623
10623
10624
10624
INPUT:
10625
10625
10626
- - ``algorithm`` - one of :
10626
+ - ``algorithm`` -- one of :
10627
10627
10628
- - ``maxima`` : currently, sends the expression to
10629
- ``maxima`` and converts it back to Sage.
10628
+ - ``maxima`` : (default) sends the expression to
10629
+ ``maxima`` and converts it back to Sage
10630
10630
10631
10631
- ``sympy`` : converts the expression to ``sympy``,
10632
10632
simplifies it (passing any optional keyword(s)), and
10633
- converts the result to Sage.
10633
+ converts the result to Sage
10634
10634
10635
10635
- ``giac`` : converts the expression to ``giac``,
10636
- simplifies it, and converts the result to Sage.
10636
+ simplifies it, and converts the result to Sage
10637
10637
10638
10638
- ``fricas`` : converts the expression to ``fricas``,
10639
- simplifies it, and converts the result to Sage.
10639
+ simplifies it, and converts the result to Sage
10640
10640
10641
10641
.. SEEALSO::
10642
10642
@@ -10684,13 +10684,13 @@ cdef class Expression(Expression_abc):
10684
10684
sage: expr.simplify(algorithm='sympy')
10685
10685
1/5*sqrt(5) - 1/5
10686
10686
"""
10687
- if algorithm == " maxima" :
10687
+ if algorithm == " maxima" :
10688
10688
return self ._parent(self ._maxima_())
10689
- if algorithm == " sympy" :
10689
+ if algorithm == " sympy" :
10690
10690
return self ._sympy_().simplify(** kwds)._sage_()
10691
- if algorithm == " giac" :
10691
+ if algorithm == " giac" :
10692
10692
return self ._giac_().simplify()._sage_()
10693
- if algorithm == " fricas" :
10693
+ if algorithm == " fricas" :
10694
10694
return self ._fricas_().simplify()._sage_()
10695
10695
raise ValueError (f" algorithm {algorithm} unknown to simplify" )
10696
10696
0 commit comments