You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
Hello,
I am new to sympy and trying to understand its functionality.
I would like to understand if it is possible to create a "step-by-step" representation of a long division.
Unfortunately, I did not find the answer to my question by searching the documentation.
Thank you in advance,
Gen
Aaron Meurer
unread,
Mar 1, 2018, 4:56:47 PM3/1/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
I don't think something like this exists already in SymPy. You can get
long division via the div() function, but the intermediary steps are
not saved. However, the division algorithm itself is relatively
simple, so it shouldn't be hard to write it out in such a way that
prints each intermediary step as it goes.