Did I find the right examples for you? yes no      Crawl my project      Python Jobs

# sympy

All Samples(380)  |  Call(0)  |  Derive(0)  |  Import(380)
```SymPy is a Python library for symbolic mathematics. It aims to become a
full-featured computer algebra system (CAS) while keeping the code as
simple as possible in order to be comprehensible and easily extensible.
SymPy is written entirely in Python and does not require any external
libraries, except optionally for plotting support.

```

```        # declarations += "    {0}_{1} = {0}[{1}]\n".format('p', i)

import sympy
# TODO: construct a common list of symbol that should be understood everywhere
sub_list[sympy.Symbol('inf')] = 'inf'
```

```        # declarations += "    {0}_{1} = {0}[{1}]\n".format('p', i)

import sympy
# TODO: construct a common list of symbol that should be understood everywhere
sub_list[sympy.Symbol('inf')] = 'inf'
```

```        declarations += "    {0}_{1} = {0}[{1}]\n".format('p', i)

import sympy
# TODO: construct a common list of symbol that should be understood everywhere
sub_list[sympy.Symbol('inf')] = 'inf'
```

```
import math
import sympy

class CustomPrinter(sympy.printing.StrPrinter):
```

```from dolo.symbolic.derivatives import DerivativesTree
import math
import sympy

import time
```

```"""

import sympy

```

```        sin(x)
"""
import sympy
ex = expression._sympy_()
v = v._sympy_()
```

```
try:
import sympy
use_sympy = True
except:
```

```
try:
import sympy
use_sympy = True
except:
```

```