A computer algebra system written in pure Python http://sympy.org/ . To get started to with contributing https://github.com/sympy/sympy/wiki/Introduction-to-contributing
smichr on master
physics/control/lti: handle tup… Merge pull request #22597 from … (compare)
sympy/utilities/tests/test_pickling.py:test_core_undefinedfunctions _______________________________________________________
Traceback (most recent call last):
File "/Users/sudarshan/Desktop/PROJECTS/GSOC/sympy/sympy/utilities/tests/test_pickling.py", line 154, in test_core_undefinedfunctions
check(f, exclude=exclude)
File "/Users/sudarshan/Desktop/PROJECTS/GSOC/sympy/sympy/utilities/tests/test_pickling.py", line 77, in check
c(a, b, d1)
File "/Users/sudarshan/Desktop/PROJECTS/GSOC/sympy/sympy/utilities/tests/test_pickling.py", line 76, in c
assert getattr(b, i) == attr, "%s != %s, protocol: %s" % (getattr(b, i), attr, protocol)
AssertionError: {'__doc__': None, '_extra_kwargs': {}, '__module__': None, '_explicit_class_assumptions': {}, 'default_assumptions': {}, '_prop_handler': {'negative': <function _eval_is_negative at 0x152f04b598>, 'commutative': <function _eval_is_commutative at 0x152ef318c8>, 'complex': <function _eval_is_complex at 0x152ef47ea0>, 'positive': <function _eval_is_positive at 0x152ef47d90>}, '_nargs': None} != {'_extra_kwargs': {}, '__module__': None, '__doc__': None, '_explicit_class_assumptions': {}, 'default_assumptions': {}, '_prop_handler': {'negative': <function Expr._eval_is_negative at 0x10d943a60>, 'commutative': <function Function._eval_is_commutative at 0x10daf6620>, 'complex': <function Function._eval_is_complex at 0x10daf66a8>, 'positive': <function Expr._eval_is_positive at 0x10d9439d8>}, '_nargs': None}, protocol: <module 'cloudpickle' from '/anaconda3/lib/python3.6/site-packages/cloudpickle/__init__.py'>
========================== tests finished: 7712 passed, 1 failed, 207 skipped, 357 expected to fail, 23 expected to fail but passed, in 3620.80 seconds ===========================
DO *NOT* COMMIT!
cloudpickle
installed,print latex(2*symbol('_x')
as it returns 2_x
as discussed in this sympy/sympy#14718 ?
plot_implicit(e.equation())
```import sympy
from sympy.core.evaluate import evaluate
from sympy import latex
from IPython.display import display
sympy.init_printing(use_latex='mathjax')
X, mu, sigma, n = sympy.symbols("\bar{X} \mu \sigma n")
with evaluate(False):
eq = (X-mu)/(sigma/sympy.sqrt(n))
display(eq)```
import sympy
from sympy.core.evaluate import evaluate
from sympy import latex
from IPython.display import display
sympy.init_printing(use_latex='mathjax')
X, mu, sigma, n = sympy.symbols("\bar{X} \mu \sigma n")
with evaluate(False):
eq = (X-mu)/(sigma/sympy.sqrt(n))
display(eq)