simplifications.rst 880 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
***************************************
Assignment Collection & Simplifications
***************************************


AssignmentCollection
====================

.. autoclass:: pystencils.AssignmentCollection
   :members:


13
14
15
16
17
18
SimplificationStrategy
======================

.. autoclass:: pystencils.simp.SimplificationStrategy
    :members:

19
20
21
Simplifications
===============

22
23
24
25
26
.. automodule:: pystencils.simp.simplifications
    :members:

Subexpression insertion
=======================
27

28
29
30
The subexpression insertions have the goal to insert subexpressions which will not reduce the number of FLOPs.
For example a constant value kept as subexpression will lead to a new variable in the code which will occupy
a register slot. On the other side a single variable could just be inserted in all assignments.
31

32
33
.. automodule:: pystencils.simp.subexpression_insertion
    :members:
34
35
36
37
38