Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Fix regression in ElemMultExpr from introduction of index types | Nao Pross | 2024-04-26 | 1 | -3/+9 |
| | |||||
* | Wrap raw dictionaries as PolyDict and PolyMatrixDict | Nao Pross | 2024-04-26 | 1 | -0/+8 |
| | | | | This is so that the old code is compatible with the new one | ||||
* | Fix regression from splitting FromTuple mixin | Nao Pross | 2024-04-26 | 2 | -2/+5 |
| | |||||
* | Make is_constant for MonomialIndex and VariableIndex static methods | Nao Pross | 2024-04-25 | 1 | -7/+9 |
| | | | | also fix an error in VariableIndex.is_constant | ||||
* | Add __repr__ methods to some polymatrix.typing classes | Nao Pross | 2024-04-25 | 1 | -1/+14 |
| | |||||
* | Fix incorrect behaviour of init_variable_expr | Nao Pross | 2024-04-25 | 2 | -3/+2 |
| | |||||
* | Create partial order of MonomialIndex wrt degree of monomial | Nao Pross | 2024-04-24 | 1 | -1/+17 |
| | |||||
* | Delete ancient class BroadCastedPolyMatrix | Nao Pross | 2024-04-24 | 2 | -19/+4 |
| | |||||
* | Mark package as typed with py.typed | Nao Pross | 2024-04-24 | 1 | -0/+0 |
| | |||||
* | Export from_names function | Nao Pross | 2024-04-24 | 1 | -1/+2 |
| | |||||
* | Fix expression.init.init_variable_expr | Nao Pross | 2024-04-24 | 3 | -6/+7 |
| | | | | | The impl class has to be only in the underlying to have the behaviour of expressions | ||||
* | Add function to construct variable from_names | Nao Pross | 2024-04-18 | 2 | -2/+17 |
| | |||||
* | Minor changes | Nao Pross | 2024-04-17 | 2 | -2/+4 |
| | |||||
* | Fix circular import and typing in FromSympy | Nao Pross | 2024-04-17 | 1 | -8/+16 |
| | |||||
* | Add helper method MonomialIndex.product | Nao Pross | 2024-04-17 | 1 | -0/+51 |
| | |||||
* | Split FromTuple into FromNumbers, FromNumpy and FromSympy | Nao Pross | 2024-04-17 | 7 | -148/+232 |
| | |||||
* | Fix typing problem in ExpressionBaseMixin | Nao Pross | 2024-04-16 | 1 | -3/+3 |
| | |||||
* | Fix typing problem in ExpressionStateMixin | Nao Pross | 2024-04-16 | 1 | -3/+8 |
| | |||||
* | Add helper methods to index types, make indexing more flexible. | Nao Pross | 2024-04-16 | 1 | -4/+28 |
| | | | | | Following robustness principle: be conservative in what you do, be liberal in what you accept from others | ||||
* | Variables are scalar unless specified otherwise | Nao Pross | 2024-04-16 | 1 | -1/+1 |
| | |||||
* | Update ExpressionState, breaking change | Nao Pross | 2024-04-15 | 3 | -78/+58 |
| | | | | | There is no (easy) way to make this change backwards compatible, the FromX classes will be adapted to the new format of the state. | ||||
* | Make PolyMatrixDict accept indexing p[row, col] | Nao Pross | 2024-04-15 | 1 | -9/+11 |
| | |||||
* | Create VariableMixin for expression | Nao Pross | 2024-04-15 | 3 | -0/+53 |
| | |||||
* | Replace DATA_TYPE with FromDataTypes in expression module | Nao Pross | 2024-04-15 | 5 | -23/+28 |
| |