summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reintroduce __truediv__ for int and float typesNao Pross2024-05-101-0/+6
|
* Check for uniqueness of names in ExpressionStateNao Pross2024-05-091-3/+10
|
* Remove redundant case in FromStateMonadMixinNao Pross2024-05-091-7/+1
|
* Cleanup some typing issues and commentsNao Pross2024-05-093-85/+58
|
* Improve error message of matrix multiplicationNao Pross2024-05-091-3/+3
|
* Adapt CombinationsExprMixin to work with expression coefficientsNao Pross2024-05-092-13/+55
|
* Create helper PolyDict.is_constant to check if a polynomial is a constantNao Pross2024-05-091-0/+14
|
* 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