Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Introduce index types and new PolyMatrix API | Nao Pross | 2024-04-15 | 7 | -60/+170 |
| | |||||
* | More review comments in expression mixins | Nao Pross | 2024-04-02 | 11 | -12/+46 |
| | |||||
* | More review comments | Nao Pross | 2024-04-02 | 3 | -1/+10 |
| | |||||
* | Create machinery to mark methods and classes as deprecated | Nao Pross | 2024-04-02 | 1 | -0/+88 |
| | |||||
* | Add comments for code review | Nao Pross | 2024-04-01 | 28 | -33/+184 |
| | |||||
* | Update pyproject.toml to use Poetry for dependency management | Nao Pross | 2024-04-01 | 2 | -13/+671 |
| | |||||
* | format Python files with ruff | Michael Schneeberger | 2024-03-27 | 84 | -1357/+1326 |
| | |||||
* | add minimal documentation to the expression mixinsupstream | Michael Schneeberger | 2024-03-12 | 11 | -6/+39 |
| | |||||
* | add integrate expression, improve variable naming | Michael Schneeberger | 2024-03-05 | 17 | -77/+260 |
| | |||||
* | bugfix after shadowing existing variable when renaming | Michael Schneeberger | 2024-02-27 | 1 | -3/+4 |
| | |||||
* | use or instead of | Michael Schneeberger | 2024-02-27 | 42 | -433/+255 |
| |