summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-05-26 16:57:49 +0200
committerNao Pross <np@0hm.ch>2024-05-26 16:57:49 +0200
commit7fb15b055e24e81011bc07e1c198ce4100d14126 (patch)
treed917a76b7482d62989d87c913ced2cd3666ccfd3
parentCollect deprecated util functions in single file (diff)
downloadpolymatrix-7fb15b055e24e81011bc07e1c198ce4100d14126.tar.gz
polymatrix-7fb15b055e24e81011bc07e1c198ce4100d14126.zip
Expose new function from_any to replace from_
-rw-r--r--polymatrix/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/polymatrix/__init__.py b/polymatrix/__init__.py
index 6e27fae..59637d4 100644
--- a/polymatrix/__init__.py
+++ b/polymatrix/__init__.py
@@ -5,6 +5,7 @@ from polymatrix.expressionstate import (
from polymatrix.expression.from_ import (
from_ as internal_from,
+ from_any as internal_from_any,
from_names as internal_from_names,
from_name as internal_from_name,
from_state_monad as internal_from_state_monad,
@@ -51,6 +52,7 @@ to_dense = from_polymatrix
to_affine = to_affine_expression
from_ = internal_from
+from_any = internal_from_any
from_names = internal_from_names
from_name = internal_from_name
from_state_monad = internal_from_state_monad