summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Separate out computation of power in PowerExprMixin into staticmethodNao Pross2024-05-091-21/+32
|
* Add init_from_statemonadNao Pross2024-05-091-2/+5
| | | | Forgot to add to commit 573b7445866e1f870ebc1c0482114f1c19e2e7e0
* Add helper method to PolyDict.constant to get constant termNao Pross2024-05-091-0/+6
|
* Create PowerExprMixinNao Pross2024-05-093-0/+85
|
* Add few comments to FromStateMonadNao Pross2024-05-091-0/+7
|
* Fix bug in __str__ of StateMonadNao Pross2024-05-091-1/+1
|
* Improve implementation of DegreeExprMixinNao Pross2024-05-091-28/+20
|
* Create FromStateMonadMixinNao Pross2024-05-094-10/+85
|
* Create singular polymatrix.from_name to remove ambiguous return typeNao Pross2024-05-082-9/+8
|
* Fix bug in PolyMatrixAsAffineExpr.affine_coefficientNao Pross2024-05-081-9/+21
|
* Add expression and expressionstate to docNao Pross2024-05-071-0/+16
|
* Add helper methods to retrieve variables from ExpressionStateNao Pross2024-05-071-0/+21
|
* Fix bug in PolyMatrixAsAffinExpressionNao Pross2024-05-072-2/+2
| | | | | | The bug was introduced by a bugfix, ironic: 7f26976a32513540d94dff3fc5bf3d7d2033f7e4
* Fix bug in v_stack that creates unnecessary Expressions, add __str__ to ↵Nao Pross2024-05-072-1/+6
| | | | combinations
* Improve docstringNao Pross2024-05-071-0/+12
|
* Merge branch 'main' of gitlab.ethz.ch:npross/polymatrixMichael Schneeberger2024-05-073-13/+11
|\
| * Small improvements of PolyMatrixAsAffineExpr, docstringsNao Pross2024-05-073-13/+11
| |
* | add example of degree 3 in docstring of monomial_to_monomial_vector_indicesMichael Schneeberger2024-05-071-3/+9
|/
* rename and comment monomial_to_monomial_vector_indicesMichael Schneeberger2024-05-072-4/+15
|
* add comments and remove unused code in denserepr moduleMichael Schneeberger2024-05-072-68/+41
|
* Remove old commentNao Pross2024-05-071-2/+1
|
* Add MonomialIndex.combinations_of_degreeNao Pross2024-05-072-23/+37
| | | | To improve PolyMatrixAsAffineExpression.affine_coefficients_by_degrees
* Improve PolyMatrixAsAffineExpr.affine_coefficientNao Pross2024-05-071-8/+10
|
* Fix bug in constructor of PolyMatrixAsAffineExprNao Pross2024-05-071-1/+1
|
* Add grouping of affine coefficients by variablesNao Pross2024-05-061-1/+18
| | | | This is meant to be used in the sumofsquares package
* Update doc automodule after name change from polymatrix.typing to .indexNao Pross2024-05-061-1/+1
|
* Fix MonomialIndex ordering and MonomialIndex.is_constantNao Pross2024-05-061-4/+7
|
* Cache degree in PolyMatrixAsAffineExpressionMixinNao Pross2024-05-063-13/+13
|
* Revert "Fix circular imports caused by type annotations"Nao Pross2024-05-0652-316/+77
| | | | This reverts commit f3d55a7bf8052ecd49386ae4bc49f9a44c7a8c20.
* Fix indexing bug in VariableMixinNao Pross2024-05-052-2/+3
|
* Rename polymatrix.typing to polymatrix.indexNao Pross2024-05-0531-29/+30
|
* Add more __str__ methods in expression implementationsNao Pross2024-05-053-4/+11
|
* Fix bug introduced by backwards compatibility codeNao Pross2024-05-051-12/+14
| | | | Bug was introduced by 21e75589a5700bf8215ce87826c4e9daac7c4071
* Create init function for PolyMatrixAsAffineExpression, fix methodsNao Pross2024-05-053-11/+93
|
* Add optional field to statemonad to see arguments given to delayed callNao Pross2024-05-054-3/+28
|
* Add __str__ to FromSympyExprNao Pross2024-05-051-0/+3
|
* Make expressionstate partially backwards compatibleNao Pross2024-05-051-2/+45
| | | | See also 13f11cb60021d4c143ce8c80e9b0c5027a4bf434
* Fix typo in variable.initNao Pross2024-05-041-1/+1
|
* Adapt nested polymatrix classes to use new APINao Pross2024-05-0411-39/+58
|
* Fix FromNumbersExpr.__str__Nao Pross2024-05-041-0/+2
|
* Remove circularity in FromSympyExpr by using polymatrix.variableNao Pross2024-05-041-5/+2
|
* Fix regression in ElemMultExprNao Pross2024-05-041-8/+4
| | | | Caused by 5aa5d53c9375b6b0c98054351a4eb782497da330
* Remove abstractmethod decorator from PolyMatrix.get_polyNao Pross2024-05-041-1/+0
| | | | it is now implemented in terms of PolyMatrix.at
* Fix regression in polymatrix.to_sympyNao Pross2024-05-041-3/+4
|
* Remove useless castNao Pross2024-05-041-1/+1
|
* Fix v_stack, add __str__ representation to some operation mixinsNao Pross2024-05-046-7/+45
|
* Reintroduce PolyMatrixDict.__getitem__ to make the typechecker shut upNao Pross2024-05-041-0/+3
|
* Fix AdditionExprMixinNao Pross2024-05-041-36/+13
|
* Fix Expression._binary, avoid creating unnecessary nodesNao Pross2024-05-041-13/+7
|
* Fix polymatrix.to_sympy()Nao Pross2024-05-041-53/+30
| | | | Was broken since commit 6afed93a20a3fb701d55217fc82817a5850a22c4