Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add init_from_statemonad | Nao Pross | 2024-05-09 | 1 | -2/+5 |
| | | | | Forgot to add to commit 573b7445866e1f870ebc1c0482114f1c19e2e7e0 | ||||
* | Add helper method to PolyDict.constant to get constant term | Nao Pross | 2024-05-09 | 1 | -0/+6 |
| | |||||
* | Create PowerExprMixin | Nao Pross | 2024-05-09 | 3 | -0/+85 |
| | |||||
* | Add few comments to FromStateMonad | Nao Pross | 2024-05-09 | 1 | -0/+7 |
| | |||||
* | Fix bug in __str__ of StateMonad | Nao Pross | 2024-05-09 | 1 | -1/+1 |
| | |||||
* | Improve implementation of DegreeExprMixin | Nao Pross | 2024-05-09 | 1 | -28/+20 |
| | |||||
* | Create FromStateMonadMixin | Nao Pross | 2024-05-09 | 4 | -10/+85 |
| | |||||
* | Create singular polymatrix.from_name to remove ambiguous return type | Nao Pross | 2024-05-08 | 2 | -9/+8 |
| | |||||
* | Fix bug in PolyMatrixAsAffineExpr.affine_coefficient | Nao Pross | 2024-05-08 | 1 | -9/+21 |
| | |||||
* | Add expression and expressionstate to doc | Nao Pross | 2024-05-07 | 1 | -0/+16 |
| | |||||
* | Add helper methods to retrieve variables from ExpressionState | Nao Pross | 2024-05-07 | 1 | -0/+21 |
| | |||||
* | Fix bug in PolyMatrixAsAffinExpression | Nao Pross | 2024-05-07 | 2 | -2/+2 |
| | | | | | | The bug was introduced by a bugfix, ironic: 7f26976a32513540d94dff3fc5bf3d7d2033f7e4 | ||||
* | Fix bug in v_stack that creates unnecessary Expressions, add __str__ to ↵ | Nao Pross | 2024-05-07 | 2 | -1/+6 |
| | | | | combinations | ||||
* | Improve docstring | Nao Pross | 2024-05-07 | 1 | -0/+12 |
| | |||||
* | Merge branch 'main' of gitlab.ethz.ch:npross/polymatrix | Michael Schneeberger | 2024-05-07 | 3 | -13/+11 |
|\ | |||||
| * | Small improvements of PolyMatrixAsAffineExpr, docstrings | Nao Pross | 2024-05-07 | 3 | -13/+11 |
| | | |||||
* | | add example of degree 3 in docstring of monomial_to_monomial_vector_indices | Michael Schneeberger | 2024-05-07 | 1 | -3/+9 |
|/ | |||||
* | rename and comment monomial_to_monomial_vector_indices | Michael Schneeberger | 2024-05-07 | 2 | -4/+15 |
| | |||||
* | add comments and remove unused code in denserepr module | Michael Schneeberger | 2024-05-07 | 2 | -68/+41 |
| | |||||
* | Remove old comment | Nao Pross | 2024-05-07 | 1 | -2/+1 |
| | |||||
* | Add MonomialIndex.combinations_of_degree | Nao Pross | 2024-05-07 | 2 | -23/+37 |
| | | | | To improve PolyMatrixAsAffineExpression.affine_coefficients_by_degrees | ||||
* | Improve PolyMatrixAsAffineExpr.affine_coefficient | Nao Pross | 2024-05-07 | 1 | -8/+10 |
| | |||||
* | Fix bug in constructor of PolyMatrixAsAffineExpr | Nao Pross | 2024-05-07 | 1 | -1/+1 |
| | |||||
* | Add grouping of affine coefficients by variables | Nao Pross | 2024-05-06 | 1 | -1/+18 |
| | | | | This is meant to be used in the sumofsquares package | ||||
* | Update doc automodule after name change from polymatrix.typing to .index | Nao Pross | 2024-05-06 | 1 | -1/+1 |
| | |||||
* | Fix MonomialIndex ordering and MonomialIndex.is_constant | Nao Pross | 2024-05-06 | 1 | -4/+7 |
| | |||||
* | Cache degree in PolyMatrixAsAffineExpressionMixin | Nao Pross | 2024-05-06 | 3 | -13/+13 |
| | |||||
* | Revert "Fix circular imports caused by type annotations" | Nao Pross | 2024-05-06 | 52 | -316/+77 |
| | | | | This reverts commit f3d55a7bf8052ecd49386ae4bc49f9a44c7a8c20. | ||||
* | Fix indexing bug in VariableMixin | Nao Pross | 2024-05-05 | 2 | -2/+3 |
| | |||||
* | Rename polymatrix.typing to polymatrix.index | Nao Pross | 2024-05-05 | 31 | -29/+30 |
| | |||||
* | Add more __str__ methods in expression implementations | Nao Pross | 2024-05-05 | 3 | -4/+11 |
| | |||||
* | Fix bug introduced by backwards compatibility code | Nao Pross | 2024-05-05 | 1 | -12/+14 |
| | | | | Bug was introduced by 21e75589a5700bf8215ce87826c4e9daac7c4071 | ||||
* | Create init function for PolyMatrixAsAffineExpression, fix methods | Nao Pross | 2024-05-05 | 3 | -11/+93 |
| | |||||
* | Add optional field to statemonad to see arguments given to delayed call | Nao Pross | 2024-05-05 | 4 | -3/+28 |
| | |||||
* | Add __str__ to FromSympyExpr | Nao Pross | 2024-05-05 | 1 | -0/+3 |
| | |||||
* | Make expressionstate partially backwards compatible | Nao Pross | 2024-05-05 | 1 | -2/+45 |
| | | | | See also 13f11cb60021d4c143ce8c80e9b0c5027a4bf434 | ||||
* | Fix typo in variable.init | Nao Pross | 2024-05-04 | 1 | -1/+1 |
| | |||||
* | Adapt nested polymatrix classes to use new API | Nao Pross | 2024-05-04 | 11 | -39/+58 |
| | |||||
* | Fix FromNumbersExpr.__str__ | Nao Pross | 2024-05-04 | 1 | -0/+2 |
| | |||||
* | Remove circularity in FromSympyExpr by using polymatrix.variable | Nao Pross | 2024-05-04 | 1 | -5/+2 |
| | |||||
* | Fix regression in ElemMultExpr | Nao Pross | 2024-05-04 | 1 | -8/+4 |
| | | | | Caused by 5aa5d53c9375b6b0c98054351a4eb782497da330 | ||||
* | Remove abstractmethod decorator from PolyMatrix.get_poly | Nao Pross | 2024-05-04 | 1 | -1/+0 |
| | | | | it is now implemented in terms of PolyMatrix.at | ||||
* | Fix regression in polymatrix.to_sympy | Nao Pross | 2024-05-04 | 1 | -3/+4 |
| | |||||
* | Remove useless cast | Nao Pross | 2024-05-04 | 1 | -1/+1 |
| | |||||
* | Fix v_stack, add __str__ representation to some operation mixins | Nao Pross | 2024-05-04 | 6 | -7/+45 |
| | |||||
* | Reintroduce PolyMatrixDict.__getitem__ to make the typechecker shut up | Nao Pross | 2024-05-04 | 1 | -0/+3 |
| | |||||
* | Fix AdditionExprMixin | Nao Pross | 2024-05-04 | 1 | -36/+13 |
| | |||||
* | Fix Expression._binary, avoid creating unnecessary nodes | Nao Pross | 2024-05-04 | 1 | -13/+7 |
| | |||||
* | Fix polymatrix.to_sympy() | Nao Pross | 2024-05-04 | 1 | -53/+30 |
| | | | | Was broken since commit 6afed93a20a3fb701d55217fc82817a5850a22c4 | ||||
* | Rename member VariableIndex.variable to VariableIndex.index | Nao Pross | 2024-05-04 | 1 | -2/+2 |
| |