diff options
author | Michael Schneeberger <michael.schneeberger@fhnw.ch> | 2022-04-04 14:47:50 +0200 |
---|---|---|
committer | Michael Schneeberger <michael.schneeberger@fhnw.ch> | 2022-04-04 14:47:50 +0200 |
commit | 561997eaa73ad81ec2da63e6e62cdf776d87be4e (patch) | |
tree | 6e37072a76772e70738f3572b63b5836688eeeb3 /polymatrix/init/initpolymatrixarrayexpr.py | |
parent | bugfixes in KKT conditions (diff) | |
download | polymatrix-561997eaa73ad81ec2da63e6e62cdf776d87be4e.tar.gz polymatrix-561997eaa73ad81ec2da63e6e62cdf776d87be4e.zip |
implement polynomial matrix as an expression
Diffstat (limited to 'polymatrix/init/initpolymatrixarrayexpr.py')
-rw-r--r-- | polymatrix/init/initpolymatrixarrayexpr.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/polymatrix/init/initpolymatrixarrayexpr.py b/polymatrix/init/initpolymatrixarrayexpr.py new file mode 100644 index 0000000..8f7dbed --- /dev/null +++ b/polymatrix/init/initpolymatrixarrayexpr.py @@ -0,0 +1,10 @@ +from numpy import array +from polymatrix.impl.polymatrixarrayexprimpl import PolyMatrixArrayExprImpl + + +def init_poly_matrix_array_expr( + data: array, +): + return PolyMatrixArrayExprImpl( + data=data, +) |