summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-06-04 17:53:02 +0200
committerNao Pross <np@0hm.ch>2024-06-04 17:53:02 +0200
commit5c5268d2adfa3dfb6fb1426ac3d59d08c9e36d2b (patch)
tree14cb5df7a8af9b54dca3d8bf4e0ca11725f02193 /examples
parentIntroduce PolyMatrix.variables() to retrieve all variables (diff)
downloadpolymatrix-5c5268d2adfa3dfb6fb1426ac3d59d08c9e36d2b.tar.gz
polymatrix-5c5268d2adfa3dfb6fb1426ac3d59d08c9e36d2b.zip
Separate symbols from variables to avoid shape problems
Variables are now expression that have a shape and contain a symbol. The symbol in its own is not a variable, as the shape is unknown, but this information can is stored in the state object. So it is possible to reconstruct a variable by doing init_variable_expr(sym, state.get_shape(sym))
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions