Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Remove expression dependency in expressionstate | Nao Pross | 2024-05-04 | 1 | -8/+2 |
| | |||||
* | Remove __hash__ dunder hack, the user has to manually unwrap | Nao Pross | 2024-05-03 | 1 | -3/+3 |
| | |||||
* | Fix incorrect implementation of VariableExpression | Nao Pross | 2024-05-02 | 5 | -32/+74 |
| | |||||
* | Delete DeterminantExpr, DivisionExpr, ToQuadraticExpr | Nao Pross | 2024-05-01 | 6 | -371/+1 |
| | |||||
* | Replace VariableMixin with Variable & VariableExpression | Nao Pross | 2024-05-01 | 10 | -82/+92 |
| | |||||
* | Minor changes to PolyMatrixAsAffineExpression | Nao Pross | 2024-05-01 | 1 | -4/+17 |
| | |||||
* | Simplify index for constants | Nao Pross | 2024-05-01 | 1 | -29/+5 |
| | |||||
* | Improve conversion to new index types in init_polymatrix | Nao Pross | 2024-05-01 | 1 | -4/+22 |
| | | | | This is here for backwards compatibility | ||||
* | Make IndexRange for ExpresssionState sortable by start value | Nao Pross | 2024-04-29 | 1 | -0/+3 |
| | |||||
* | Remove debug print | Nao Pross | 2024-04-29 | 1 | -1/+0 |
| | |||||
* | Fix bug in ExpressionState.index | Nao Pross | 2024-04-29 | 1 | -3/+11 |
| | | | | | | | | | | | | | If we do x = polymatrix.from_names("x") state = polymatrix.make_state() state, idx = state.index(x) There is problem because the state index should be a dictionary with keys of type VariableMixin, but x is of type Expression, so we need to take its underlying | ||||
* | Fix circular imports caused by type annotations | Nao Pross | 2024-04-29 | 54 | -82/+327 |
| | |||||
* | Add minor comments | Nao Pross | 2024-04-29 | 2 | -1/+3 |
| | |||||
* | Add sphinx documentation generator | Nao Pross | 2024-04-29 | 6 | -0/+167 |
| | | | | | | To generate the documentation run $ make -C docs html | ||||
* | Add total order to MonomialIndex | Nao Pross | 2024-04-29 | 1 | -3/+19 |
| | |||||
* | Create PolyMatrixAsAffineExpression as replacement for DenseExpr | Nao Pross | 2024-04-28 | 2 | -38/+296 |
| |