Skip to content
Snippets Groups Projects
  • Martin Bauer's avatar
    pystencils: Assignment instead of sympy.Eq · 9f071fdd
    Martin Bauer authored
    - Previously sympy.Eq was used to represent assignments. However Eq
      represents equality not assignment. This means that sometimes sympy
      "simplified" an equation like a = a  to True,
    -> replaced sp.Eq by pystencils.Assignment everywhere
    - renamed EquationCollection to AssignmentCollection
    9f071fdd
Forked from pycodegen / pystencils
1302 commits behind the upstream repository.
__init__.py 655 B
from pystencils.field import Field, FieldType, extractCommonSubexpressions
from pystencils.data_types import TypedSymbol
from pystencils.slicing import makeSlice
from pystencils.kernelcreation import createKernel, createIndexedKernel
from pystencils.display_utils import showCode, toDot
from pystencils.assignment_collection import AssignmentCollection
from pystencils.assignment import Assignment

__all__ = ['Field', 'FieldType', 'extractCommonSubexpressions',
           'TypedSymbol',
           'makeSlice',
           'createKernel', 'createIndexedKernel',
           'showCode', 'toDot',
           'AssignmentCollection',
           'Assignment']