summaryrefslogtreecommitdiffstats
path: root/polymatrix/expressionstate/impl/expressionstateimpl.py
blob: 3890a27c65aa5274a3d43be3d26ed572dc00a797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from functools import cached_property
import dataclassabc
from polymatrix.expressionstate.expressionstate import ExpressionState 

from typing import Optional 

@dataclassabc.dataclassabc(frozen=True)
class ExpressionStateImpl(ExpressionState):
	n_param: int
	offset_dict: dict
	auxillary_equations: dict[int, dict[tuple[int], float]]
	cache: dict