Marduk
2018-11-08 11:04:34 UTC
Dear all,
I would like to convert exp(-a^2*x^2 - a^2*y^2) into exp(-a^2*(x^2 + y^2)).
However,
it seems that exp converts its argument presumably to Expression Integer,
and
since FriCAS always expands products the factorization is lost.
For more general expressions, I would like to write a rule that matches
%c*exp(x/y)
and rewrites it as %c*exp(factorFraction x/y).
Thank you in advance.
Best regards,
Marduk
I would like to convert exp(-a^2*x^2 - a^2*y^2) into exp(-a^2*(x^2 + y^2)).
However,
it seems that exp converts its argument presumably to Expression Integer,
and
since FriCAS always expands products the factorization is lost.
For more general expressions, I would like to write a rule that matches
%c*exp(x/y)
and rewrites it as %c*exp(factorFraction x/y).
Thank you in advance.
Best regards,
Marduk
--
You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+***@googlegroups.com.
To post to this group, send email to fricas-***@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+***@googlegroups.com.
To post to this group, send email to fricas-***@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.