summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--polymatrix/expression/impl.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/polymatrix/expression/impl.py b/polymatrix/expression/impl.py
index 81a624e..0a60fb8 100644
--- a/polymatrix/expression/impl.py
+++ b/polymatrix/expression/impl.py
@@ -490,11 +490,17 @@ class SumExprImpl(SumExprMixin):
class SymmetricExprImpl(SymmetricExprMixin):
underlying: ExpressionBaseMixin
+ def __str__(self):
+ return f"symmetric({self.underlying})"
+
@dataclassabc.dataclassabc(frozen=True)
class ToConstantExprImpl(ToConstantExprMixin):
underlying: ExpressionBaseMixin
+ def __str__(self):
+ return f"ToCostant({self.underlying})"
+
@dataclassabc.dataclassabc(frozen=True)
class ToSortedVariablesImpl(ToSortedVariablesExprMixin):