summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-04-24 12:27:49 +0200
committerNao Pross <np@0hm.ch>2024-04-24 12:27:49 +0200
commit04a8d24341796c49a77353f9075e66962954568d (patch)
treea45d4610218ca1c13a27b31ca3f9a1accd8d73ed
parentFix expression.init.init_variable_expr (diff)
downloadpolymatrix-04a8d24341796c49a77353f9075e66962954568d.tar.gz
polymatrix-04a8d24341796c49a77353f9075e66962954568d.zip
Export from_names function
-rw-r--r--polymatrix/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/polymatrix/__init__.py b/polymatrix/__init__.py
index 8ec096f..af1d5fa 100644
--- a/polymatrix/__init__.py
+++ b/polymatrix/__init__.py
@@ -3,7 +3,7 @@ from polymatrix.expressionstate.init import (
init_expression_state as internal_init_expression_state,
)
from polymatrix.expression.expression import Expression as internal_Expression
-from polymatrix.expression.from_ import from_ as internal_from
+from polymatrix.expression.from_ import from_ as internal_from, from_names as internal_from_names
from polymatrix.expression import v_stack as internal_v_stack
from polymatrix.expression import h_stack as internal_h_stack
from polymatrix.expression import product as internal_product
@@ -25,3 +25,4 @@ to_sympy_repr = internal_to_sympy
to_sympy = internal_to_sympy
to_matrix_repr = from_polymatrix
to_dense = from_polymatrix
+from_names = internal_from_names