Did I find the right examples for you? yes no

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.

See the webpage for more information and documentation:

    http://code.google.com/p/sympy/

src/b/r/brian-1.4.1/brian/experimental/codegen/rewriting.py   brian(Download)
try:
    from sympy.printing.ccode import CCodePrinter
    from sympy.printing.precedence import precedence
    import sympy
except ImportError:

src/b/r/Brian2-2.0a8/brian2/utils/logger.py   Brian2(Download)
import numpy
import scipy
import sympy
 
import brian2

src/b/r/Brian2-2.0a8/brian2/stateupdaters/exponential_euler.py   Brian2(Download)
import sympy as sp
 
from brian2.parsing.sympytools import sympy_to_str
 
from .base import StateUpdateMethod

src/b/r/Brian2-2.0a8/brian2/stateupdaters/explicit.py   Brian2(Download)
import string
 
import sympy
from sympy.core.sympify import SympifyError
from pyparsing import (Literal, Group, Word, ZeroOrMore, Suppress, restOfLine,

src/b/r/Brian2-2.0a8/brian2/stateupdaters/exact.py   Brian2(Download)
 
from sympy import Wild, Symbol
import sympy as sp
 
from brian2.parsing.sympytools import sympy_to_str

src/b/r/Brian2-2.0a8/brian2/parsing/sympytools.py   Brian2(Download)
'''
Utility functions for parsing expressions and statements.
'''
import sympy
from sympy.printing.str import StrPrinter

src/b/r/Brian2-2.0a8/brian2/parsing/rendering.py   Brian2(Download)
import ast
 
import sympy
 
from brian2.core.functions import DEFAULT_FUNCTIONS, DEFAULT_CONSTANTS

src/b/r/Brian2-2.0a8/brian2/groups/neurongroup.py   Brian2(Download)
'''
This model defines the `NeuronGroup`, the core of most simulations.
'''
import numpy as np
import sympy

src/b/r/Brian2-2.0a8/brian2/equations/equations.py   Brian2(Download)
import string
import numpy as np
import sympy
from pyparsing import (Group, ZeroOrMore, OneOrMore, Optional, Word, CharsNotIn,
                       Combine, Suppress, restOfLine, LineEnd, ParseException)

src/b/r/Brian2-2.0a8/brian2/equations/codestrings.py   Brian2(Download)
`Expression` and `Statements` are the ones that are actually used.
'''
import sympy
 
from brian2.utils.logger import get_logger

Previous  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12  Next