Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • pystencils pystencils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pycodegen
  • pystencilspystencils
  • Merge requests
  • !110

Update AssignmentCollection.__repr__

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Stephan Seitz requested to merge seitz/pystencils:update-AssignmentCollection.__repr__ into master Dec 17, 2019
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Assignment Collection for y[0,0,0] is usually not very helpful.

New representation:

In [6]:     forward_assignments = pystencils.AssignmentCollection({
   ...:         z[0, 0]: x[0, 0] * sympy.log(x[0, 0] * y[0, 0]),
   ...:     y[0,0] : x[1,1] +1
   ...:             })

In [7]: forward_assignments
Out[7]: AssignmentCollection: z_C, y_C <- f(x_C, x_NE)
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: update-AssignmentCollection.__repr__