Colin B. Macdonald
Colin B. Macdonald
I agree with all that. A counter argument for supporting at least `sym(1/3)` and `sym(pi/8)` is: 1. symbolic programs commonly start with a bunch of sym constants (e.g., in textbooks)....
SMT: ```` >> sym(1/3) ans = 1/3 >> sym(1/10) ans = 1/10 >> sym(pi/19) ans = pi/19 ```` And the same if you assign first to a variable (thus, no...
Sounds about right. Might be a long time until we can switch over. You could have a run-time check on the sympy version.... Or you could just put a comment...
Also: maybe it would work for MatrixSymbols now, see upstream. We could add tests for that.
Cool. Can also defer this until we have at least a released sympy with this feature.
Thanks! I also filed issue #100 for the component-by-component case. See also upstream https://github.com/sympy/sympy/pull/7563.
See also #101.
Even before the `symsum`, it would be nice here if we go something like: ```` >> q = python_cmd('return sp.MatPow(_ins[0],_ins[1])', A, n) q = (sym 3×3 matrix expression) n ⎛⎡1...
Or `sym('a', '~polar')`