summaryrefslogtreecommitdiffstats
path: root/polymatrix/init/initpolymatexpr.py
diff options
context:
space:
mode:
Diffstat (limited to 'polymatrix/init/initpolymatexpr.py')
-rw-r--r--polymatrix/init/initpolymatexpr.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/polymatrix/init/initpolymatexpr.py b/polymatrix/init/initpolymatexpr.py
new file mode 100644
index 0000000..9f6cd20
--- /dev/null
+++ b/polymatrix/init/initpolymatexpr.py
@@ -0,0 +1,10 @@
+from polymatrix.impl.polymatexprimpl import PolyMatExprImpl
+
+def init_poly_mat_expr(
+ terms: dict,
+ shape: tuple,
+):
+ return PolyMatExprImpl(
+ terms=terms,
+ shape=shape,
+)