I have a problem, I need to compact a derivative result like this:
0*x*x + 2*(1*x + x*1) =====> example: 0+2*(2*x) =====> 0+2*4*x====>8*x
Is it possible? Thanks for your help.
Regards,
Volter
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, this is possible, it just takes some work. You’ll need to write out atomic rules such as
and implement a fixpoint predicate (maybe a failure-driven loop) that applies rules until convergence.