summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix regression in polymatrix.to_sympyNao Pross2024-05-041-3/+4
|
* Remove useless castNao Pross2024-05-041-1/+1
|
* Fix v_stack, add __str__ representation to some operation mixinsNao Pross2024-05-046-7/+45
|
* Reintroduce PolyMatrixDict.__getitem__ to make the typechecker shut upNao Pross2024-05-041-0/+3
|
* Fix AdditionExprMixinNao Pross2024-05-041-36/+13
|
* Fix Expression._binary, avoid creating unnecessary nodesNao Pross2024-05-041-13/+7
|
* Fix polymatrix.to_sympy()Nao Pross2024-05-041-53/+30
| | | | Was broken since commit 6afed93a20a3fb701d55217fc82817a5850a22c4
* Rename member VariableIndex.variable to VariableIndex.indexNao Pross2024-05-041-2/+2
|
* Remove expression dependency in expressionstateNao Pross2024-05-041-8/+2
|
* Remove __hash__ dunder hack, the user has to manually unwrapNao Pross2024-05-031-3/+3
|
* Fix incorrect implementation of VariableExpressionNao Pross2024-05-025-32/+74
|
* Delete DeterminantExpr, DivisionExpr, ToQuadraticExprNao Pross2024-05-016-371/+1
|
* Replace VariableMixin with Variable & VariableExpressionNao Pross2024-05-0110-82/+92
|
* Minor changes to PolyMatrixAsAffineExpressionNao Pross2024-05-011-4/+17
|
* Simplify index for constantsNao Pross2024-05-011-29/+5
|
* Improve conversion to new index types in init_polymatrixNao Pross2024-05-011-4/+22
| | | | This is here for backwards compatibility
* Make IndexRange for ExpresssionState sortable by start valueNao Pross2024-04-291-0/+3
|
* Remove debug printNao Pross2024-04-291-1/+0
|
* Fix bug in ExpressionState.indexNao Pross2024-04-291-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 annotationsNao Pross2024-04-2954-82/+327
|
* Add minor commentsNao Pross2024-04-292-1/+3
|
* Add sphinx documentation generatorNao Pross2024-04-296-0/+167
| | | | | | To generate the documentation run $ make -C docs html
* Add total order to MonomialIndexNao Pross2024-04-291-3/+19
|
* Create PolyMatrixAsAffineExpression as replacement for DenseExprNao Pross2024-04-282-38/+296
|
* Fix regression in ElemMultExpr from introduction of index typesNao Pross2024-04-261-3/+9
|
* Wrap raw dictionaries as PolyDict and PolyMatrixDictNao Pross2024-04-261-0/+8
| | | | This is so that the old code is compatible with the new one
* Fix regression from splitting FromTuple mixinNao Pross2024-04-262-2/+5
|
* Make is_constant for MonomialIndex and VariableIndex static methodsNao Pross2024-04-251-7/+9
| | | | also fix an error in VariableIndex.is_constant
* Add __repr__ methods to some polymatrix.typing classesNao Pross2024-04-251-1/+14
|
* Fix incorrect behaviour of init_variable_exprNao Pross2024-04-252-3/+2
|
* Create partial order of MonomialIndex wrt degree of monomialNao Pross2024-04-241-1/+17
|
* Delete ancient class BroadCastedPolyMatrixNao Pross2024-04-242-19/+4
|
* Mark package as typed with py.typedNao Pross2024-04-241-0/+0
|
* Export from_names functionNao Pross2024-04-241-1/+2
|
* Fix expression.init.init_variable_exprNao Pross2024-04-243-6/+7
| | | | | The impl class has to be only in the underlying to have the behaviour of expressions
* Add function to construct variable from_namesNao Pross2024-04-182-2/+17
|