Re: [sympy] RFC on solve being used to solve for undetermined coefficients

2022-07-01 Thread Chris Smith
A deprecation is possible. Here is a potential docstring addition: ** Automatic detection of undetermined coefficients** When solving a single equation that is not passed in a list and is passed with more than 1 variable for which to solve a check is made to see whether the equation and

Re: [sympy] RFC on solve being used to solve for undetermined coefficients

2022-07-01 Thread Oscar Benjamin
On Fri, 1 Jul 2022 at 13:01, gu...@uwosh.edu wrote: > > +1 for separating out undetermined coefficients. > I am sure this will break somebody's code. However, I agree that the behavior > of solve is so inconsistent that I do not think there is a reasonable way of > deprecating this. I generally

Re: [sympy] RFC on solve being used to solve for undetermined coefficients

2022-07-01 Thread gu...@uwosh.edu
+1 for separating out undetermined coefficients. I am sure this will break somebody's code. However, I agree that the behavior of solve is so inconsistent that I do not think there is a reasonable way of deprecating this. I generally only use solve in an interactive environment and as little as

Re: [sympy] RFC on solve being used to solve for undetermined coefficients

2022-07-01 Thread Oscar Benjamin
On Thu, 30 Jun 2022 at 23:27, Chris Smith wrote: > > Nearly from the beginning, `solve` has recognized the `undetermined > coefficients` case wherein a single equation is solved for a set of symbols > which will simultaneously set it equal to zero. This is different than the > normal use of