Christopher Smith

Results 210 comments of Christopher Smith

> I can't reproduce the result suggested in the OP: You have confirmed that the result is the same regardless of the setting for `simplify`. The op shows that if...

I am really not a fan of handling all the "not a symbol but treat it like a symbol" objects in functions. The way `solve` works is to disambiguate the...

git blame gives the commit in which the rationale for not handling non-symbols was given: https://github.com/sympy/sympy/commit/2f0ad7de6fac8beb0836f781453df86d0dbb89c8 ``` Note: the requirement that symbols be Symbols is made to avoid problems like...

> What can we say about solutions to those equations for `x` though? The A and b would be in a form that might be appropriate for an iterative solution,...

> For my use case, I know the equations I'm working with are linear in certain terms and I only need a function like this to extract A and b....

I sure hope others find these useful. I appreciate your work on these.

> is expected to return a flat dense list At instantiation, before the call to `_handle_creation_inputs` there is a check for ImmutableDenseMatrix and a quick return for that. I suspect...

> On the other hand I'm not really sure what the point From the sympify docstring: ``` If you want *all* single-letter and Greek-letter variables to be symbols then you...

This, too, does not pass: ```diff diff --git a/sympy/core/add.py b/sympy/core/add.py index 02b3b04209..ef7cc969c6 100644 --- a/sympy/core/add.py +++ b/sympy/core/add.py @@ -679,8 +679,8 @@ def _eval_is_imaginary(self): return elif a.is_imaginary: im_I.append(a*S.ImaginaryUnit) - elif (S.ImaginaryUnit*a).is_extended_real:...

open to see possible new code ```python def solve_undetermined_coeffs(equ, coeffs, *syms, **flags): r""" Solve equation of a type $p(x; a_1, \ldots, a_k) = q(x)$ where both $p$ and $q$ are...