You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question, and I do highly appreciate your support.
I want to write a script to extract common parts between two algebraic equations. Specifically, the commonality is in structure not their coefficients. Let’s give an example,
Consider each of the equations is sum of some terms: e.g.
I expect the code returns the following commonalities:
(1) c0x0sin(c1x0/(c2x1 + c3))
(2) c4*x2
(3) c4
where ci i = 0, 1, 2, .... are all constants reflecting coefficients.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a question, and I do highly appreciate your support.
I want to write a script to extract common parts between two algebraic equations. Specifically, the commonality is in structure not their coefficients. Let’s give an example,
Consider each of the equations is sum of some terms: e.g.
I expect the code returns the following commonalities:
(1) c0x0sin(c1x0/(c2x1 + c3))
(2) c4*x2
(3) c4
where ci i = 0, 1, 2, .... are all constants reflecting coefficients.
Thank you so much for your support
Beta Was this translation helpful? Give feedback.
All reactions