And what if I have Expression(Integer) ? Say, (5) -> (sin x + y)^3 / ((sin x)^2 + (sin x + z)^3)
On Monday, December 24, 2012 1:11:08 AM UTC+4, Ralf Hemmecke wrote: > > 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 view this discussion on the web visit https://groups.google.com/d/msg/fricas-devel/-/4IR8o3F8fR4J. 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.
