diff options
author | Nao Pross <np@0hm.ch> | 2024-05-13 16:11:08 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-05-13 16:11:08 +0200 |
commit | d190de08b035dba097ce93fa0e385344dc95ba4b (patch) | |
tree | eccc7da97ed2945c824ade50c7994f8cd11dcc4c | |
parent | Create SliceExpr to replace GetItemExpr (diff) | |
download | polymatrix-d190de08b035dba097ce93fa0e385344dc95ba4b.tar.gz polymatrix-d190de08b035dba097ce93fa0e385344dc95ba4b.zip |
Delete broken substitute methods in Expression
-rw-r--r-- | polymatrix/expression/expression.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/polymatrix/expression/expression.py b/polymatrix/expression/expression.py index 494a245..291560f 100644 --- a/polymatrix/expression/expression.py +++ b/polymatrix/expression/expression.py @@ -380,29 +380,6 @@ class Expression(ExpressionBaseMixin, ABC): ), ) - def substitute( - self, - variable: tuple, - values: tuple["Expression", ...] = None, - ) -> "Expression": - return self.copy( - underlying=polymatrix.expression.init.init_substitute_expr( - underlying=self.underlying, - variables=variable, - values=values, - ), - ) - - def subs( - self, - variable: tuple, - values: tuple["Expression", ...] = None, - ) -> "Expression": - return self.substitute( - variable=variable, - values=values, - ) - def sum(self): return self.copy( underlying=polymatrix.expression.init.init_sum_expr( |