How do I teach Fricas the following simplification of
polygamma special functions. For the input:
(5) -> polygamma(0, x+1) - polygamma(0, x)
(5) polygamma(0,x + 1) - polygamma(0,x)
Type: Expression(Integer)
this
(6) -> simplify(%)
should give me back 1/x. I'd like to have it work
the same way as the well known example:
(7) -> sin(x)^2 + cos(x)^2
2 2
(7) sin(x) + cos(x)
Type: Expression(Integer)
(8) -> simplify(%)
(8) 1
Type: Expression(Integer)
Where do I need to add code? How much work
would it be to achieve this?
Thank you for any information.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.