On 12/23/2012 07:31 AM, Grigory Sarnitsky wrote:
How to make outputted expressions more compact?

> (4) -> (x+y)^3 / (x^2 + (x+z)^3)

Would the following already help? If not, make your question more
precise. All you need is a domain that has as "normal form" the form
that you want your expression to look like.

Note, that here FriCAS is fundamentally different from most other CAS.

Ralf

(1) -> R := Fraction(Factored Polynomial Integer)

   (1)  Fraction(Factored(Polynomial(Integer)))
                                                                   Type:
Type
(2) -> r: R := (x+y)^3 / (x^2 + (x+z)^3)

                         3
                  (y + x)
   (2)  ---------------------------
         3       2     2     3    2
        z  + 3x z  + 3x z + x  + x
                                Type:
Fraction(Factored(Polynomial(Integer)))

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to