diff options
Diffstat (limited to '')
-rw-r--r-- | mdpoly/operations/exp.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mdpoly/operations/exp.py b/mdpoly/operations/exp.py index 177fd22..0f57fcb 100644 --- a/mdpoly/operations/exp.py +++ b/mdpoly/operations/exp.py @@ -9,20 +9,18 @@ from dataclasses import dataclass from ..abc import Expr, Const from ..errors import AlgebraicError -from ..expressions import BinaryOp, Reducible -from ..expressions.matrix import MatrixExpr -from ..expression.poly import PolyExpr +from . import BinaryOp, Reducible # TODO: implement matrix exponential, use caley-hamilton thm magic @dataclass(eq=False) -class MatExp(BinaryOp, MatrixExpr, Reducible): +class MatExp(BinaryOp, Reducible): def __init__(self): raise NotImplementedError @dataclass(eq=False) -class PolyExp(BinaryOp, PolyExpr, Reducible): +class PolyExp(BinaryOp, Reducible): """ Exponentiation operator between scalar polynomials. """ @property # type: ignore[override] |